We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78d7d33 commit 8f8a65cCopy full SHA for 8f8a65c
vllm/entrypoints/openai/protocol.py
@@ -297,7 +297,7 @@ def get_logits_processors(
297
298
299
def get_json_schema_from_tool(
300
- tool_choice: str | ToolChoice | ChatCompletionNamedToolChoiceParam,
+ tool_choice: str | ToolChoiceFunction | ChatCompletionNamedToolChoiceParam,
301
tools: list[FunctionTool | ChatCompletionToolsParam] | None,
302
) -> str | dict | None:
303
if tool_choice in ("none", None) or tools is None:
0 commit comments