litellm/tests/test_litellm/llms/hosted_vllm
Sameer Kankute fd7ff0f269
fix(hosted_vllm): normalize custom tools for chat completions (#25763)
* fix(hosted_vllm): normalize custom tools for chat completions

Convert custom tool definitions into OpenAI function tools before forwarding hosted_vllm chat requests to avoid provider-side validation failures. Add a regression test and include a local curl verification screenshot.

Made-with: Cursor

* Fix black issue

* Fix hosted vllm custom tool schema fallback

* fix black

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-05-05 17:27:02 -07:00
..
chat fix(hosted_vllm): normalize custom tools for chat completions (#25763) 2026-05-05 17:27:02 -07:00
embedding style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
responses style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_hosted_vllm_rerank_transformation.py fix: fix vllm test 2025-09-27 10:01:48 -07:00