Skip to content

vllm.tokenizers.mistral

Functions:

_image_pil_parts_to_urls(messages)

Send image_pil parts as data URLs, which mistral-common accepts.

truncate_tool_call_ids(request)

Truncates tool call IDs for Mistral's ID requirements.