mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-23 00:41:40 +00:00
The /v1/images/edits handler binds the documented image[] and mask[] aliases into their canonical parameters, then re-reads the multipart body, so the raw bracketed keys rode along to the provider next to the values already built from them. OpenAI rejected both: image[] as "Invalid type for 'image[0]'" and mask[] as "Invalid parameter: 'mask'". Drop both aliases from what gets forwarded. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_azure_routes.py | ||
| test_endpoints.py | ||