litellm/tests/unit/llms/hosted_vllm
quietjules c9fc315ce7
fix(hosted_vllm,azure): leave the caller's messages untouched when building the chat request (#51841)
* fix(hosted_vllm,azure): leave the caller's messages untouched when building the chat request

hosted_vllm and Azure rewrote the caller's nested message objects while building the request, so a Router fallback reused the rewritten parts. A video file part reached a Gemini fallback as video_url, which Gemini drops. Both now build new message dicts and content parts and send the same request body as before

* test(hosted_vllm,azure): type the caller-messages regression tests

* test(hosted_vllm): drop the async variant of the caller-messages test

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-11-24 00:22:33 +00: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 test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00: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