mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
* fix(vertex_ai): forward extra_body to completion transformation handler The responses() function accepted extra_body as a named parameter but did not pass it to response_api_handler when responses_api_provider_config was None (completion transformation path), silently dropping it. Also adds deep-merge support for extra_body in Vertex AI Gemini transformation, so dict values like generationConfig are merged rather than replaced. * refactor(vertex_ai): extract _merge_extra_body to fix PLR0915 lint Move the extra_body merge loop into a helper function to keep _transform_request_body under the 50-statement limit. |
||
|---|---|---|
| .. | ||
| litellm_completion_transformation | ||
| mcp | ||
| test_no_duplicate_spend_logs.py | ||
| test_null_test_fix.py | ||
| test_responses_api_request_body.py | ||
| test_responses_utils.py | ||
| test_text_format_conversion.py | ||