chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK [speakeasy-sdk-regen-25492313905] 2.4.5#518
Merged
Merged
Conversation
* `mistral.workflows.executions.stream()`: `response.[].data.data.union(CustomTaskInProgressResponse).attributes.payload` **Changed** (Breaking⚠️ ) * `mistral.workflows.events.get_stream_events()`: `response.[].data.data` **Changed** (Breaking⚠️ ) * `mistral.workflows.events.get_workflow_events()`: `response.events[]` **Changed** (Breaking⚠️ ) * `mistral.events.get_stream_events()`: `response.[].data.data.union(CustomTaskInProgressResponse).attributes.payload` **Changed** (Breaking⚠️ ) * `mistral.events.get_workflow_events()`: `response.events[]` **Changed** (Breaking⚠️ ) * `mistral.beta.connectors.get_authentication_methods()`: `response.[].has_default_credentials` **Added**
rbarbadillo
approved these changes
May 7, 2026
rbarbadillo
left a comment
Contributor
There was a problem hiding this comment.
Reviewed the breaking changes flagged by Speakeasy: they're mostly additive and safe to ship as a patch:
PublicAuthenticationMethodhas newhas_default_credentials: boolfield response-only, consumers just get a new field back from the API.JSONPayloadResponse/JSONPatchPayloadResponse: new optionalencoding_optionsfield on response payloads, defaults to unsetEncodedPayloadOptions:Literal → Union[Literal, UnrecognizedStr]. Widens the type to handle unknown enum values gracefully, non-breaking.JSONPatchPayloadResponserestructuring: patch value union moved into a newJSONPatchmodel. Individual patch types unchanged. Could affect code doingisinstancechecks on the old union type, but this is a niche
workflows API surface*AttributesResponsemodels: docstring-only changes, no functional impact
Nelson-PROIA
added a commit
that referenced
this pull request
May 21, 2026
The mistralai-{azure,gcp} pyproject.toml files reference README-PYPI.md
which is generated by scripts/prepare_readme.py from the regular README.md
with relative links rewritten to absolute GitHub URLs.
Until now, the file was gitignored per package and only generated at
publish time. This caused align-version to fail in CI because uv version
triggers a hatchling editable build which validates pyproject.toml, and
hatchling refuses to validate a non-existent readme file.
The root mistralai package already commits its README-PYPI.md (added in
#518) and works fine. Apply the same pattern to azure and gcp:
- Remove README-PYPI.md from each package's .gitignore
- Commit the generated file
- Drop the prepare_readme step from gen workflows (added in #537)
since the file is now always present on disk
prepare_readme.py is still called by publish.sh and the publish workflow
to refresh the file at release time, so it stays accurate.
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.
SDK update
Versioning
Version Bump Type: [patch] - 🤖 (automated)
Tip
If updates to your OpenAPI document introduce breaking changes, be sure to update the
info.versionfield to trigger the correct version bump.Speakeasy supports manual control of SDK versioning through multiple methods.
Python SDK Changes:
mistral.workflows.executions.stream():response.[].data.data.union(CustomTaskInProgressResponse).attributes.payloadChanged (Breakingmistral.workflows.events.get_stream_events():response.[].data.dataChanged (Breakingmistral.workflows.events.get_workflow_events():response.events[]Changed (Breakingmistral.events.get_stream_events():response.[].data.data.union(CustomTaskInProgressResponse).attributes.payloadChanged (Breakingmistral.events.get_workflow_events():response.events[]Changed (Breakingmistral.beta.connectors.get_authentication_methods():response.[].has_default_credentialsAddedView full SDK changelog
OpenAPI Change Summary
View full report
Linting Report
0 errors, 6 warnings, 51 hintsView full report
PYTHON CHANGELOG
No relevant generator changes
Based on Speakeasy CLI 1.761.1
Last updated by Speakeasy workflow