Skip to content

vllm.tool_parsers.llama4_pythonic_tool_parser

Classes:

Llama4PythonicToolParser

Bases: ToolParser

Toolcall parser for Llama4 that produce tool calls in a pythonic style Use --enable-auto-tool-choice --tool-call-parser llama4_pythonic

Methods:

extract_tool_calls(model_output, request)

Extract the tool calls from a complete model response.