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 15d0492 commit c46a8c8Copy full SHA for c46a8c8
vllm/entrypoints/openai/serving_engine.py
@@ -1356,6 +1356,8 @@ def _parse_tool_calls_from_content(
1356
)
1357
content = None # Clear content since tool is called.
1358
elif request.tool_choice == "auto" or request.tool_choice == "none":
1359
+ assert tool_parser_cls is not None
1360
+ # Automatic Tool Call Parsing
1361
try:
1362
tool_parser = tool_parser_cls(tokenizer)
1363
except RuntimeError as e:
0 commit comments