v2.1.1
Breaking Changes📦 mistral-clientView on GitHub →
⚠ 3 breaking🔧 3 symbols
Summary
This release updates the Python SDK, introducing breaking changes to the structure of the `response.choices[]` field across chat, FIM, and agent completion endpoints.
⚠️ Breaking Changes
- The structure of `response.choices[]` has changed for `mistral.chat.complete()`. Users must update their response parsing logic.
- The structure of `response.choices[]` has changed for `mistral.fim.complete()`. Users must update their response parsing logic.
- The structure of `response.choices[]` has changed for `mistral.agents.complete()`. Users must update their response parsing logic.
Migration Steps
- Review and update code that accesses `response.choices[]` in calls to `mistral.chat.complete()`, `mistral.fim.complete()`, and `mistral.agents.complete()` to align with the new structure.