litellm/tests/litellm
Sameer Kankute 216c68db04
fix(gemini): googleSearch + server-side tools and googleMaps JSON schema (#29582)
* fix(gemini): keep googleSearch with server-side tools and googleMaps JSON schema

Wire include_server_side_tool_invocations through completion() so mixed
google_search and function tools are not dropped on Gemini 3+. Rewrite
generationConfig to responseFormat when googleMaps is used with JSON schema.

Fixes #27479
Fixes #29451

Co-authored-by: Cursor <cursoragent@cursor.com>

* address greptile review feedback (greploop iteration 1)

* style: fix black formatting in main.py for py312 compat

* Fix Gemini Google Maps extra_body JSON rewrite

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-04 07:43:30 -07:00
..
a2a_protocol/providers/pydantic_ai_agents feat(a2a): well-known agent-card discovery + LangGraph Platform mode (#28860) 2026-05-29 20:50:42 -07:00
integrations/helicone style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
litellm_core_utils test: create fresh ModelResponse per test to avoid shared mutable state 2026-03-03 14:54:11 -03:00
llms fix(gemini): googleSearch + server-side tools and googleMaps JSON schema (#29582) 2026-06-04 07:43:30 -07:00
proxy [internal copy of #28008] Support MCP OAuth passthrough and issuer-scoped JWT auth (#28356) 2026-06-02 12:22:04 -07:00
test_batch_completion_models_all_responses.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_bedrock_extended_beta_models.py feat(bedrock): add support for 4 new beta models (#20974) 2026-02-13 18:32:12 +05:30
test_bedrock_nemotron_super.py Litellm ishaan april2 (#25113) 2026-04-04 12:31:49 -07:00
test_no_hardcoded_secrets.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_proxy_auth.py feat(sdk): add proxy_auth for auto OAuth2/JWT token management (#20238) 2026-02-02 22:04:08 -08:00
test_router_retry_backoff_headers.py fix(router): use current retry exception for retry backoff (#20725) 2026-02-10 22:44:25 -08:00
test_sambanova_model_metadata.py Add new chat model metadata (#27313) 2026-05-06 15:15:21 -07:00
test_stream_chunk_builder_images.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00