Skip to content

vllm.tool_parsers.mistral_tool_parser

Classes:

MistralToolParser

Bases: MistralParserToolAdapter

Attributes:

  • bot_token (str) –

    Return the Mistral tool-call marker exposed by the legacy parser.

  • bot_token_id (int | None) –

    Return the token id for bot_token.

bot_token property

Return the Mistral tool-call marker exposed by the legacy parser.

bot_token_id property

Return the token id for bot_token.