mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-28 01:32:17 +00:00
fix black
This commit is contained in:
parent
062ec4240a
commit
50cb4f7753
1 changed files with 3 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue