fix black

This commit is contained in:
Sameer Kankute 2026-05-02 11:23:54 +05:30
parent 062ec4240a
commit 50cb4f7753
No known key found for this signature in database

View file

@ -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 = {