mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-30 01:08:33 +00:00
imageConfig[...] fields sent beside an imageConfig that is not a JSON object now answer 400 on gemini/ too, as vertex_ai/ already did, and drop_params keeps the bracket fields
OpenAI-style multipart edits leave out bracket fields whose root additional_drop_params lists, so imageConfig[aspectRatio] no longer reaches a deployment that drops imageConfig
The fold camelCases nested imageConfig keys on both sides before merging, so a snake_case bracket key overrides a nested camelCase JSON key instead of sending both
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_gemini_image_edit_transformation.py | ||