litellm/tests/test_litellm/llms/vertex_ai
Sameer Kankute a2c11d431a fix(vertex_ai): drop unsupported output_config parameter from all requests
Vertex AI does not support the output_config parameter in its API.
This parameter is being added by Anthropic/Gemini transformations but needs
to be removed before sending requests to Vertex AI endpoints.

This fix addresses the "Extra inputs are not permitted" error (issue #22312)
when using Claude models with structured outputs on Vertex AI.

Changes:
- Drop output_config in Gemini model transformation
- Drop output_config in Anthropic partner model transformation
- Drop output_config in Anthropic experimental pass-through transformation
- Add comprehensive tests to verify output_config is dropped

Fixes: #22312
Made-with: Cursor
2026-03-05 13:02:17 +05:30
..
context_caching 🐛 Bug Fix #19642 : bug in Vertex AI context caching (#19657) 2026-02-02 18:13:34 +05:30
files Managed batches - Address PR bot comments from #22464 2026-03-03 11:01:49 -05:00
gemini Merge pull request #22765 from BerriAI/main 2026-03-04 17:40:42 +05:30
image_edit Merge branch 'main' into litellm_image_edit_vertex_cred_fix 2025-12-17 22:38:07 +05:30
image_generation fix(vertex_ai): pass through native Gemini imageConfig params for image generation 2026-02-19 15:39:27 -03:00
multimodal_embeddings [Bug fix] Vertex Multimodal embeddings - Support text + base64 image combinations (#18172) 2025-12-18 13:22:43 +05:30
realtime feat(vertex_ai): Vertex AI Gemini Live via unified /realtime endpoint (#22153) 2026-02-25 22:11:06 -08:00
rerank fix(tests): resolve merge conflict in test_vertex_ai_rerank_transformation.py 2026-02-18 11:31:56 -03:00
vertex_ai_partner_models fix(vertex_ai): drop unsupported output_config parameter from all requests 2026-03-05 13:02:17 +05:30
vertex_gemma_models Perf speed up pytest (#15951) 2025-10-27 19:43:40 -07:00
videos Fix: Passing of image and parameters in videos api 2026-02-26 14:49:46 +05:30
__init__.py fix imports 2025-11-08 18:01:32 -08:00
test_bge_embedding.py Fix CI: Revert security scan changes and add GitGuardian ignore rules (#18358) 2025-12-22 17:03:53 -08:00
test_bge_response_transformation.py test_is_bge_model_detection 2025-12-02 21:59:02 +05:30
test_gemini_empty_properties.py fix: keep type field in Gemini schema when properties is empty (#18979) 2026-01-14 22:58:05 +05:30
test_gemini_header_forwarding.py fix passing headers for gemini (#15231) 2025-10-06 12:59:19 -07:00
test_http_status_201.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_vertex.py fix: update vertex AI tests to expect role=user on function_response messages 2026-03-03 19:40:28 -03:00
test_vertex_ai_common_utils.py fix(vertex): preserve any-type schema semantics for JsonValue/Any fields 2026-03-02 15:31:11 -03:00
test_vertex_ai_psc_endpoint_support.py fix failing vertex tests 2025-12-06 00:04:04 +05:30
test_vertex_global_url_support.py feat(vertex-ai): add centralized get_vertex_base_url() helper for global location support 2025-12-24 13:51:58 +05:30
test_vertex_image_generation.py test: fix tests 2025-11-22 16:50:50 -08:00
test_vertex_llm_base.py Revert "Add support for Vertex AI API keys" 2026-01-10 13:39:49 -08:00