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> |
||
|---|---|---|
| .. | ||
| apps | ||
| cli | ||
| client | ||
| conformance | ||
| contrib | ||
| deprecated | ||
| experimental | ||
| fs | ||
| integration_tests | ||
| prompts | ||
| resources | ||
| server | ||
| telemetry | ||
| tools | ||
| utilities | ||
| __init__.py | ||
| conftest.py | ||
| test_apps.py | ||
| test_apps_prefab.py | ||
| test_fastmcp_app.py | ||
| test_json_schema_generation.py | ||
| test_mcp_config.py | ||