v2.1.0
Breaking Changes📦 mistral-clientView on GitHub →
⚠ 17 breaking✨ 11 features🔧 28 symbols
Summary
Version 2.1.0 introduces significant breaking changes across many beta and chat API endpoints, primarily affecting request and response structures. It also adds new functionality for audio processing and reasoning capabilities in model metadata.
⚠️ Breaking Changes
- The 'response' structure for mistral.beta.agents.update_version() has changed.
- The 'response' structure for mistral.beta.agents.get() has changed.
- The 'request' structure for mistral.agents.stream() has changed.
- The 'request' structure for mistral.agents.complete() has changed.
- The 'request' structure for mistral.beta.conversations.start_stream() has changed.
- The 'request' structure for mistral.chat.stream() has changed.
- The 'request' structure for mistral.chat.complete() has changed.
- The 'request' structure for mistral.beta.conversations.restart() has changed.
- The 'response.[]' structure for mistral.beta.agents.list_versions() has changed.
- The 'request' structure for mistral.beta.conversations.start() has changed.
- The 'response.[]' structure for mistral.beta.conversations.list() has changed.
- The 'response' structure for mistral.beta.conversations.get() has changed.
- The 'request' and 'response' structures for mistral.beta.agents.update() have changed.
- The 'response' structure for mistral.beta.agents.get_version() has changed.
- The 'response.[]' structure for mistral.beta.agents.list() has changed.
- The 'request' and 'response' structures for mistral.beta.agents.create() have changed.
- The 'request' structure for mistral.beta.conversations.restart_stream() has changed.
Migration Steps
- Review and update usages of mistral.beta.agents.update_version() due to response structure change.
- Review and update usages of mistral.beta.agents.get() due to response structure change.
- Review and update usages of mistral.agents.stream() due to request structure change.
- Review and update usages of mistral.agents.complete() due to request structure change.
- Review and update usages of mistral.beta.conversations.start_stream() due to request structure change.
- Review and update usages of mistral.chat.stream() due to request structure change.
- Review and update usages of mistral.chat.complete() due to request structure change.
- Review and update usages of mistral.beta.conversations.restart() due to request structure change.
- Review and update usages of mistral.beta.agents.list_versions() due to response.[] structure change.
- Review and update usages of mistral.beta.conversations.start() due to request structure change.
- Review and update usages of mistral.beta.conversations.list() due to response.[] structure change.
- Review and update usages of mistral.beta.conversations.get() due to response structure change.
- Review and update usages of mistral.beta.agents.update() due to request and response structure changes.
- Review and update usages of mistral.beta.agents.get_version() due to response structure change.
- Review and update usages of mistral.beta.agents.list() due to response.[] structure change.
- Review and update usages of mistral.beta.agents.create() due to request and response structure changes.
- Review and update usages of mistral.beta.conversations.restart_stream() due to request structure change.
✨ New Features
- Added support for 'reasoning_effort' in request.completion_args for mistral.beta.conversations.append_stream().
- Added mistral.audio.voices.update() endpoint.
- Added support for 'reasoning_effort' in request.completion_args for mistral.beta.conversations.append().
- Added mistral.audio.voices.list() endpoint.
- Added mistral.audio.speech.complete() endpoint.
- Added 'reasoning' capability to the union of response and base models in mistral.models.retrieve().
- Added 'reasoning' capability to the union of response.data[] and base models in mistral.models.list().
- Added mistral.audio.voices.get_sample_audio() endpoint.
- Added mistral.audio.voices.get() endpoint.
- Added mistral.audio.voices.delete() endpoint.
- Added mistral.audio.voices.create() endpoint.
Affected Symbols
mistral.beta.agents.update_versionmistral.beta.agents.getmistral.agents.streammistral.agents.completemistral.beta.conversations.start_streammistral.chat.streammistral.chat.completemistral.beta.conversations.restartmistral.beta.agents.list_versionsmistral.beta.conversations.startmistral.beta.conversations.listmistral.beta.conversations.getmistral.beta.agents.updatemistral.beta.agents.get_versionmistral.beta.agents.listmistral.beta.agents.createmistral.beta.conversations.restart_streammistral.beta.conversations.append_streammistral.audio.voices.updatemistral.beta.conversations.appendmistral.audio.voices.listmistral.audio.speech.completemistral.models.retrievemistral.models.listmistral.audio.voices.get_sample_audiomistral.audio.voices.getmistral.audio.voices.deletemistral.audio.voices.create