From 50cb4f7753de39ebbb7d790a540ed961f0c6f140 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Sat, 2 May 2026 11:23:54 +0530 Subject: [PATCH] fix black --- litellm/llms/hosted_vllm/chat/transformation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/llms/hosted_vllm/chat/transformation.py b/litellm/llms/hosted_vllm/chat/transformation.py index 88f77347e4f..1824314865c 100644 --- a/litellm/llms/hosted_vllm/chat/transformation.py +++ b/litellm/llms/hosted_vllm/chat/transformation.py @@ -57,7 +57,9 @@ class HostedVLLMChatConfig(OpenAIGPTConfig): custom_tool.get("name") or tool.get("name") or f"custom_tool_{idx}" ) tool_description = custom_tool.get("description") or tool.get("description") - tool_parameters = custom_tool.get("input_schema") or tool.get("input_schema") + tool_parameters = custom_tool.get("input_schema") or tool.get( + "input_schema" + ) if not isinstance(tool_parameters, dict): tool_parameters = {