litellm/tests/unit/images
mateo-berri a0198e5c76 fix(images): fold imageConfig edit fields only where the provider takes imageConfig
- Fold imageConfig[key] multipart edit fields in the SDK edit path, only for providers whose edit config lists imageConfig, deep-merged over a JSON imageConfig with bracket keys winning
- Let background auto or opaque, moderation auto and output_compression 100 pass on Vertex Gemini without a 400
- Accept image_config as an alias of imageConfig on Vertex Gemini generation and edits
- Keep drop_params, additional_drop_params and the params they drop out of OpenAI-style multipart edit forms
2026-11-22 15:41:00 -08:00
..
request_payloads test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
__init__.py test: move tests/test_litellm root and small trees into tests/unit (#43186) 2026-09-25 11:30:43 -07:00
test_image_edit.py feat(dashscope): add image edits and text-to-speech (#48998) 2026-10-29 17:48:38 -07:00
test_image_edit_extra_params.py fix(images): fold imageConfig edit fields only where the provider takes imageConfig 2026-11-22 15:41:00 -08:00
test_image_edit_utils.py fix(vertex_ai): honor multipart drop_params and snake_case imageConfig keys on Gemini image edits 2026-11-20 13:12:02 -08:00
test_image_generation_extra_headers.py test: move tests/test_litellm root and small trees into tests/unit (#43186) 2026-09-25 11:30:43 -07:00
test_main.py fix(images): honor additional_drop_params given as a tuple or holding non-string entries (#52390) 2026-11-19 09:56:32 -08:00