Change8

v1.12.3

Breaking Changes
📦 mistral-clientView on GitHub →
13 breaking12 features🔧 20 symbols

Summary

This release introduces numerous breaking changes to request and response schemas across fine-tuning, model management, batch jobs, and beta agent endpoints. It also adds several new fields related to version messages and search/ordering capabilities in beta agent and batch job endpoints.

⚠️ Breaking Changes

  • The structure of the `request` for `mistral.fine-tuning.jobs.create()` has changed.
  • The structure of the `response` for `mistral.fine-tuning.jobs.create()` has changed.
  • The structure of the `response` for `mistral.models.update()` has changed.
  • The structure of `response.object` for `mistral.models.archive()` has changed.
  • The structure of `response.object` for `mistral.models.unarchive()` has changed.
  • The structure of `response.object` for `mistral.batch.jobs.cancel()` has changed.
  • The structure of `response.object` for `mistral.batch.jobs.get()` has changed.
  • The structure of `response.object` for `mistral.batch.jobs.create()` has changed.
  • The structure of the `response` for `mistral.batch.jobs.list()` has changed.
  • The structure of the `response` for `mistral.fine-tuning.jobs.start()` has changed.
  • The structure of the `response` for `mistral.fine-tuning.jobs.cancel()` has changed.
  • The structure of the `response` for `mistral.fine-tuning.jobs.get()` has changed.
  • The structure of the `response` for `mistral.fine-tuning.jobs.list()` has changed.

Migration Steps

  1. Review changes to the request and response schemas for `mistral.fine-tuning.jobs.create()`.
  2. Review changes to the response schema for `mistral.models.update()`.
  3. Review changes to the `response.object` schema for `mistral.models.archive()` and `mistral.models.unarchive()`.
  4. Review changes to the `response.object` schema for batch job operations (`cancel`, `get`, `create`, `list`).
  5. Review changes to the response schema for fine-tuning job operations (`start`, `cancel`, `get`, `list`).

✨ New Features

  • Added `request.order_by` to `mistral.batch.jobs.list()`.
  • Added `request.search` to `mistral.beta.agents.list()`.
  • Added `response.[].version_message` to `mistral.beta.agents.list()`.
  • Added `response.version_message` to `mistral.beta.agents.get_version()`.
  • Added `response.[].version_message` to `mistral.beta.agents.list_versions()`.
  • Added `response.version_message` to `mistral.beta.agents.update_version()`.
  • Added `request.version_message` to `mistral.beta.agents.update()`.
  • Added `response.version_message` to `mistral.beta.agents.update()`.
  • Added `response.version_message` to `mistral.beta.agents.get()`.
  • Added `mistral.beta.agents.delete_version_alias()`.
  • Added `request.version_message` to `mistral.beta.agents.create()`.
  • Added `response.version_message` to `mistral.beta.agents.create()`.

Affected Symbols