litellm/tests/unit/enterprise
ryan-crabbe-berri dadaf91190
fix(images): send JSON-form image edits upstream as JSON instead of a url-encoded form (#53864)
* test(images): cover JSON-form image references on /v1/images/edits

* fix(images): send JSON-form image edits upstream as JSON instead of a url-encoded form

* test(images): fold the image-reference case into the full-body mask assertion

* fix(images): keep image edits with an uploaded mask file on the multipart path

* fix(images): keep hosted vLLM and Azure MAI image edits on the form path

vLLM-Omni and the Azure AI Foundry MAI edit route only read form fields, so
JSON-form image references must not switch those requests to a JSON body.

* fix(proxy): check managed file ownership for image edit file references

* test(images): assert whole request bodies in image edit wire tests

* fix(images): check for uploaded files without recursion and keep the JSON path typed

* fix(proxy): validate the image edit request before walking it for file ids
2026-11-24 16:48:05 -08:00
..
enterprise_callbacks fix(decisions): accept OpenAI input_json content parts on /v1/decisions (#52805) 2026-11-20 13:33:36 -08:00
integrations refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
proxy fix(images): send JSON-form image edits upstream as JSON instead of a url-encoded form (#53864) 2026-11-24 16:48:05 -08:00
__init__.py test: add __init__.py to migrated tests/unit packages 2026-09-20 11:53:49 +00:00
conftest.py ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00