Change8

v1.4.0

Breaking Changes
📦 mistral-client
1 breaking1 features🔧 4 symbols

Summary

This release introduces a breaking change by renaming the `bytes` field to `size_bytes` across several file-related output classes and adds a new `prediction` argument.

⚠️ Breaking Changes

  • The field name `bytes` was renamed to `size_bytes` in the following classes and their TypedDict equivalents: `FileSchema`, `ListFilesOut`, `RetrieveFileOut`, and `UploadFileOut`. Update your code to use `size_bytes` instead of `bytes`.

Migration Steps

  1. If you were using the `bytes` field in `FileSchema`, `ListFilesOut`, `RetrieveFileOut`, or `UploadFileOut`, change all references to use `size_bytes` instead.

✨ New Features

  • Added the `prediction` argument.

🔧 Affected Symbols

FileSchemaListFilesOutRetrieveFileOutUploadFileOut