litellm/tests/unit/llms/hosted_vllm
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
..
chat fix(hosted_vllm,azure): leave the caller's messages untouched when building the chat request (#51841) 2026-11-24 00:22:33 +00:00
embedding test: migrate tests/llm_translation into unit, integration and e2e tiers (#45759) 2026-10-11 07:58:53 +00:00
image_edit 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
responses fix(llms): move later developer messages for models declared system-first (#48897) 2026-10-29 04:12:13 -07:00
videos test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
__init__.py test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
test_hosted_vllm_rerank_transformation.py fix(rerank): preserve token usage in spend logs (#49308) 2026-10-30 13:46:27 -07:00