litellm/tests/test_litellm/llms/hosted_vllm/chat
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
..
test_hosted_vllm_chat_transformation.py fix(hosted_vllm): normalize custom tools for chat completions (#25763) 2026-05-05 17:27:02 -07:00
test_hosted_vllm_ssl_verify.py fix(hosted_vllm): route through base_llm_http_handler to support ssl_verify (#19893) 2026-01-28 22:33:07 -08:00