vllm.tool_parsers.pythonic_tool_parser
¶
Classes:
-
PythonicToolParser–Tool call parser for models that produce tool calls in a pythonic style,
PythonicToolParser
¶
Bases: ToolParser
Tool call parser for models that produce tool calls in a pythonic style, such as Llama 3.2 and Llama 4 models.
Used when --enable-auto-tool-choice --tool-call-parser pythonic are all set
Methods:
-
extract_tool_calls–Extract the tool calls from a complete model response.
extract_tool_calls(model_output, request)
¶
Extract the tool calls from a complete model response.