mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
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 |
||
|---|---|---|
| .. | ||
| context_caching | ||
| files | ||
| gemini | ||
| image_edit | ||
| image_generation | ||
| multimodal_embeddings | ||
| realtime | ||
| rerank | ||
| vertex_ai_partner_models | ||
| vertex_gemma_models | ||
| videos | ||
| __init__.py | ||
| test_bge_embedding.py | ||
| test_bge_response_transformation.py | ||
| test_gemini_empty_properties.py | ||
| test_gemini_header_forwarding.py | ||
| test_http_status_201.py | ||
| test_vertex.py | ||
| test_vertex_ai_common_utils.py | ||
| test_vertex_ai_psc_endpoint_support.py | ||
| test_vertex_global_url_support.py | ||
| test_vertex_image_generation.py | ||
| test_vertex_llm_base.py | ||