vllm.parser.minimax_m2 ¶
MiniMax M2 parser for XML-style tool calls.
MiniMax M2 tool call format::
<minimax:tool_call><invoke name="get_weather">
<parameter name="city">Seattle</parameter>
</invoke></minimax:tool_call>
Each <invoke> block becomes one tool call. The argument body consists of <parameter name="...">...</parameter> tags.
Classes:
-
MinimaxM2Parser–MiniMax M2 parser backed by the declarative parser engine.
MinimaxM2Parser ¶
Bases: ParserEngine
MiniMax M2 parser backed by the declarative parser engine.