A bug in the mistral-common Python library, specifically version 1.12.0, caused issues when converting tool definitions from OpenAI's SDK. The OpenAI SDK defaults to including `"strict": null` for optional parameters, which mistral-common's `Function.from_openai` method incorrectly rejected. This has been fixed in a pull request merged on October 21, 2026, and will be included in the next release after 1.12.0. A workaround involves excluding null values when dumping OpenAI tool definitions. AI
IMPACT Ensures smoother interoperability between OpenAI and Mistral models for developers using their respective Python libraries.
RANK_REASON A bug fix for a Python library related to integrating OpenAI SDK tools with Mistral models.
- 1.12.0
- Function.from_openai
- Mistral AI
- mistral-common
- OpenAI
- PR #396
- PR #402
- SpecialTokenPolicy
- Tekkenizer.decode
- ValidationError
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →