fix: change constFieldCasing from upper to normal#361
Merged
Conversation
Keep const fields lowercase (e.g., `role` instead of `ROLE`) to match the actual API values and align with the private SDK.
jean-malo
previously approved these changes
Feb 20, 2026
jean-malo
previously approved these changes
Feb 20, 2026
161aaca to
8819512
Compare
Add async_realtime_transcription_dual_delay_microphone.py to the excluded files list in the run_examples.sh script to prevent it from being executed during example runs.
The script was excluding an incorrect file name ("job.py") in the exclude_files array, which has been updated to the correct name ("jobs.py") to ensure the proper example is skipped during execution.
8819512 to
730631b
Compare
Update the package version to 1.12.4 in preparation for a new release.
* `mistral.beta.conversations.start()`: * `request.inputs.[array].[]` **Changed** **Breaking**⚠️ * `response` **Changed** **Breaking**⚠️ * `mistral.beta.conversations.list()`: `response.[]` **Changed** **Breaking**⚠️ * `mistral.beta.conversations.get()`: `response` **Changed** **Breaking**⚠️ * `mistral.beta.conversations.append()`: * `request.inputs.[array].[]` **Changed** **Breaking**⚠️ * `response` **Changed** **Breaking**⚠️ * `mistral.beta.conversations.get_history()`: `response` **Changed** **Breaking**⚠️ * `mistral.beta.conversations.get_messages()`: `response` **Changed** **Breaking**⚠️ * `mistral.beta.conversations.restart()`: * `request.inputs.[array].[]` **Changed** **Breaking**⚠️ * `response` **Changed** **Breaking**⚠️ * `mistral.beta.conversations.start_stream()`: * `request.inputs.[array].[]` **Changed** **Breaking**⚠️ * `response.[].data` **Changed** **Breaking**⚠️ * `mistral.beta.conversations.append_stream()`: * `request.inputs.[array].[]` **Changed** **Breaking**⚠️ * `response.[].data` **Changed** **Breaking**⚠️ * `mistral.beta.conversations.restart_stream()`: * `request.inputs.[array].[]` **Changed** **Breaking**⚠️ * `response.[].data` **Changed** **Breaking**⚠️ * `mistral.beta.agents.create()`: `response.object` **Changed** **Breaking**⚠️ * `mistral.beta.agents.list()`: `response.[].object` **Changed** **Breaking**⚠️ * `mistral.beta.agents.get()`: `response.object` **Changed** **Breaking**⚠️ * `mistral.beta.agents.update()`: `response.object` **Changed** **Breaking**⚠️ * `mistral.beta.agents.update_version()`: `response.object` **Changed** **Breaking**⚠️ * `mistral.beta.agents.list_versions()`: `response.[].object` **Changed** **Breaking**⚠️ * `mistral.beta.agents.get_version()`: `response.object` **Changed** **Breaking**⚠️ * `mistral.chat.complete()`: * `request.messages.[]` **Changed** **Breaking**⚠️ * `response.choices.[].message` **Changed** **Breaking**⚠️ * `mistral.chat.stream()`: * `request.messages.[]` **Changed** **Breaking**⚠️ * `response.[].data.choices.[].delta.content.[array].[]` **Changed** **Breaking**⚠️ * `mistral.fim.complete()`: `response.choices.[].message` **Changed** **Breaking**⚠️ * `mistral.fim.stream()`: `response.[].data.choices.[].delta.content.[array].[]` **Changed** **Breaking**⚠️ * `mistral.agents.complete()`: * `request.messages.[]` **Changed** **Breaking**⚠️ * `response.choices.[].message` **Changed** **Breaking**⚠️ * `mistral.agents.stream()`: * `request.messages.[]` **Changed** **Breaking**⚠️ * `response.[].data.choices.[].delta.content.[array].[]` **Changed** **Breaking**⚠️ * `mistral.classifiers.moderate_chat()`: * `request.inputs.[array].[]` **Changed** **Breaking**⚠️ * `mistral.classifiers.classify_chat()`: * `request.inputs.[inputs].messages.[]` **Changed** **Breaking**⚠️ * `mistral.ocr.process()`: `request.document` **Changed** **Breaking**⚠️ * `mistral.audio.transcriptions.complete()`: `response.segments.[].type` **Changed** **Breaking**⚠️ * `mistral.audio.transcriptions.stream()`: `response.[].data` **Changed** **Breaking**⚠️ Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
jean-malo
approved these changes
Feb 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
constFieldCasing: uppertoconstFieldCasing: normalto keep const fields lowercase (e.g.,roleinstead ofROLE). Aligns public SDK with the private SDK (mistralai/client-python-private#258).After merging, run
speakeasy run -t mistralai-sdk --skip-versioning --frozen-workflow-lockfileto regenerate.