mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24:18 +02:00
* fix: strip title fields from tool schemas for Gemini compatibility Gemini 2.5 Flash produces MALFORMED_FUNCTION_CALL when a function declaration's parameters_json_schema contains 'title' fields (which Pydantic adds by default). Strip them in _convert_tool_to_google_genai before passing to the API. Fixes #3860 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Fix ty errors and lowest-deps test failure - Add assertions for non-None before subscripting FunctionDeclaration fields (ty check) - Test compress_schema directly instead of constructing FunctionDeclaration which may not support parameters_json_schema in google-genai==1.18.0 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| auth | ||
| client | ||
| sampling | ||
| tasks | ||
| telemetry | ||
| transports | ||
| __init__.py | ||
| test_elicitation.py | ||
| test_elicitation_enums.py | ||
| test_logs.py | ||
| test_notifications.py | ||
| test_oauth_callback_race.py | ||
| test_oauth_callback_xss.py | ||
| test_openapi.py | ||
| test_progress.py | ||
| test_roots.py | ||
| test_sampling.py | ||
| test_sampling_result_types.py | ||
| test_sampling_tool_loop.py | ||
| test_sse.py | ||
| test_stdio.py | ||
| test_streamable_http.py | ||