M

Mistral Common

M
Mistral Common AI v1.11.7

v1.11.7: Patch release

What's Changed Update AGENTS.md structure and add explicit keyword args rule by @juliendenize in #270 Validate special_token_policy strings when decoding by @sarathfrancis90 in #273 Add auto-detecting chat template generation from tokenizer file by @juliendenize in #272 Reject thinking chunks in tool messages by @juliendenize in #275 Emit all render_content macro args explicitly by @juliendenize i…

M
Mistral Common AI v1.11.6

v1.11.6: Fixes and patch grammar selector

What's Changed Raise ValueError instead of ValidationError in audio chunk validators by @sarathfrancis90 in #255 Reject AudioConfig with sampling_rate < frame_rate instead of a later ZeroDivisionError by @CharlesCNorton in #253 Decode normal tokens under SpecialTokenPolicy.RAISE in SentencePiece by @sarathfrancis90 in #256 Auto-select grammar variant from tokenizer by @juliendenize in #260 Fix see…

M
Mistral Common AI v1.11.4

v1.11.4: Chat templates integration, fixes

What's Changed Add chat templates integration by @juliendenize in #163 Deprecate RawAudio in favor of str | bytes by @juliendenize in #227 Generalize normalizer aggregation with dual separators by @juliendenize in #235 Consolidate multimodal ContentChunk support for all message roles by @juliendenize in #241 Fix AudioChunk.to_openai() serialization for raw audio bytes and prefixed base64 audio str…

M
Mistral Common AI v1.11.3

v1.11.3: Fix continue_final_message, add reasoning format to to_openai

What's Changed Raise multiple format of reasoning for from_openai by @juliendenize in #224 Preserve zero OpenAI seed in chat request conversion by @pragnyanramtha in #226 Pin uv required-version and bump pre-commit hook by @juliendenize in #228 Add to_openai reasoning format for AssistantMessage by @juliendenize in #223 fix(tokenizer): point users at from_hf_hub on unknown model (#229) by @Nishcha…

M
Mistral Common AI v1.11.2

v1.11.2: Improve from_openai method.

What's Changed Add test and docstring to get_validator by @juliendenize in #219 Improve from openai methods by @juliendenize in #221 Version 1.11.2 by @juliendenize in #222 Full Changelog: v1.11.1...v1.11.2

M
Mistral Common AI v1.11.1

v1.11.1: Patch for agentic use

What's Changed This Patch allows usage of user message after tool message. It also makes from_openai less strict to make mistral-common integrations in other frameworks smoother. Fix docs by @juliendenize in #216 Allow user message after tool by @juliendenize in #218 Make from_openai methods lenient by silently dropping unsupported fields by @juliendenize in #217 Version 1.11.1 by @juliendenize in…

M
Mistral Common AI v1.11.0

v1.11.0: Mistral Guidance

What's Changed Mistral Guidance is out ! Make use of lark grammar to guide your model in generating valid reasoning traces with or without tool calls ! Improve tool choice by @juliendenize in #204 Add Mistral guidance by @juliendenize in #202 Simplify AGENTS.md by @juliendenize in #201 Add version_num property by @juliendenize in #203 Update version to 1.11.0 by @juliendenize in #206 Full Changelo…

M
Mistral Common AI v1.10.0

v1.10.0: Tokenizer v15, Reasoning Effort and Python 3.14

What's Changed Allow System Prompt with Audio for v13 by @juliendenize in #184 test_audio: Replace live network calls in test_from_url with mocked HTTP responses by @framsouza in #188 fix: typo in serve command help text by @framsouza in #189 Add Python 3.14 support by @juliendenize in #195 test: mock remaining network call in test_encode_invalid_audio_url_chunk by @abdelhadi703 in #192 [Speech Re…

M
Mistral Common AI v1.9.1

v1.9.1 Patch Release

Refactor online streaming processing and allow for dynamic streaming delay What's Changed Add AGENTS.md by @juliendenize in #182 fix: correct typos 'occurence' and 'recieved' by @thecaptain789 in #185 [Audio] Refactor streaming logic by @patrickvonplaten in #187 New Contributors @thecaptain789 made their first contribution in #185 Full Changelog: v1.9.0...v1.9.1

M
Mistral Common AI v1.9.0

v1.9.0 - Stream my audio 🎙️

Mistral-Common can now process streaming requests import numpy as np from mistral_common.audio import Audio from mistral_common.protocol.instruct.chunk import RawAudio from mistral_common.protocol.transcription.request import ( StreamingMode, TranscriptionRequest, ) from mistral_common.tokens.tokenizers.mistral import MistralTokenizer # 1. Load the tokenizer with audio support tokenizer = MistralT…

M
Mistral Common AI v1.8.8

v1.8.8: Backward comp

What's Changed Add new token logic asrstr by @patrickvonplaten in #172 [Backward comp] Still need the _control_tokens for vLLM by @patrickvonplaten in #173 Full Changelog: v1.8.7...v1.8.8