Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
293 changes: 163 additions & 130 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 3.9.0
version: 3.10.0
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ sources:
- 1.0.0
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:063546f721a2fa07d26e90fddc31f4317e9e337979736b3f218bd288ef275494
sourceBlobDigest: sha256:299c23ba84cfb85774160e24158cc6de3ac1f34e974ec7d01ada86e9d3d540fa
sourceRevisionDigest: sha256:03f02d58fb727be38f91d279a1b8cdf44899ac4c87d3299689b5efbf66a1cd35
sourceBlobDigest: sha256:0a1d25888d666ce0ca729ee3a12d20ab638748fb775f87ccb43ac8d36a94691b
tags:
- latest
- 1.0.0
Expand All @@ -39,10 +39,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:063546f721a2fa07d26e90fddc31f4317e9e337979736b3f218bd288ef275494
sourceBlobDigest: sha256:299c23ba84cfb85774160e24158cc6de3ac1f34e974ec7d01ada86e9d3d540fa
sourceRevisionDigest: sha256:03f02d58fb727be38f91d279a1b8cdf44899ac4c87d3299689b5efbf66a1cd35
sourceBlobDigest: sha256:0a1d25888d666ce0ca729ee3a12d20ab638748fb775f87ccb43ac8d36a94691b
codeSamplesNamespace: mistral-openapi-python-code-samples
codeSamplesRevisionDigest: sha256:d7e11d407412b2b3956e55036ba28180d7bdba0b1b8954238742b344546294da
codeSamplesRevisionDigest: sha256:348e5a232b567564532245764fcf50faa7da7e5c4d1579ba1facde365326f3d2
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.807.0
Expand Down
11 changes: 8 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,18 @@ files also list it); `sdkhooks.py`, `types.py` and `__init__.py` carry the heade
This directory is the source of truth; the public `mistralai/client-python` repository is a copy of it. Releasing
runs in the Buildkite pipeline `eng-sdk-codegen` in the dashboard monorepo, not in GitHub Actions:

1. Regenerate: a cron every Friday at 06:17 UTC, or a manual build with `Action = regenerate`, runs Speakeasy on
`openapi/specs/v2/` and opens the rolling dashboard pull request from `sdk/regen-client-python`. Review and merge it.
1. Regenerate: a weekly cron (its day and time are in the pipeline's
[Buildkite schedule](https://buildkite.com/mistralai/eng-sdk-codegen/settings/schedules)), or a manual build with
`Action = regenerate`, runs Speakeasy on `openapi/specs/v2/` and opens the rolling dashboard pull request from
`sdk/regen-client-python`. Review and merge it.
2. Publish: a person starts a build with `Action = publish`, from the Buildkite UI or through the Buildkite API or
MCP with `action=publish`, `dry_run=false`, `clients=python` as build meta-data. It copies this directory into a
pull request on the `sdk-sync` branch of `mistralai/client-python`. Publishing never regenerates, so merge step 1
first.
3. Merging that public pull request is the release: it publishes to PyPI.
3. Merging that public pull request is the release. Its `Publish MISTRALAI-SDK` workflow waits for an approval from
`@mistralai/engineering-sdk` on the `publish` environment (Actions run, **Review deployments**), then uploads to PyPI.
Its GitHub release step currently fails on the org IP allow list, so the `vX.Y.Z` release is created by hand; the
skill below has the command.

The full procedure, its options and its safety checks are in the dashboard skill
`openapi/.agents/skills/deploy-public-sdk/SKILL.md`.
27 changes: 27 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2083,3 +2083,30 @@ Based on:
- [python v3.9.0] .
### Releases
- [PyPI v3.9.0] https://pypi.org/project/mistralai/3.9.0 - .

## 2026-11-30 14:42:00
### API changes
#### Schema changes

- Added enum values `destination_already_exists` and `destination_not_found` across beta observability datasets, beta observability datasets records, beta observability evaluations, beta observability evaluations projects, beta observability evaluations runs, beta observability evaluations records, beta observability evaluations optimizations, beta observability evaluations scorers, beta observability logs, beta observability traces, beta observability spans (63 operations).
- Added request fields `split_path` and `split` in `sdk.beta.observability.datasets.list_records()`.
- Added response field `dataset_query` in `sdk.beta.observability.evaluations.runs.search()`, `sdk.beta.observability.evaluations.runs.search_all()`, `sdk.beta.observability.evaluations.runs.get()`, and `sdk.beta.observability.evaluations.optimizations.list_trials()`.
- Added response fields `min_coverage`, `coverage`, `expected_count`, `scorer_error_count`, `task_error_count`, and `std_error` across beta observability evaluations runs, beta observability evaluations records, beta observability evaluations optimizations (8 operations).
- Added response variant `pass_at` in `sdk.beta.observability.evaluations.runs.search()`, `sdk.beta.observability.evaluations.runs.search_all()`, `sdk.beta.observability.evaluations.runs.get()`, and `sdk.beta.observability.evaluations.optimizations.list_trials()`.
- Added response field `config` in `sdk.beta.observability.evaluations.optimizations.list()` and `sdk.beta.observability.evaluations.optimizations.get()`.
- Added enum values `connection_in_another_workspace` and `connector_in_another_workspace` in `sdk.beta.connectors.create()`, `sdk.beta.connectors.create_credentials()`, `sdk.beta.connectors.update_credentials()`, and `sdk.beta.connectors.update()`.
- Added response enum value `rootly` across beta triggers, beta webhooks (6 operations).
- Added response enum value `skipped` in `sdk.beta.triggers.list_events()`.
- Added request enum value `rootly` in `sdk.beta.webhooks.create()`.
- Added request field `worker_name` in `sdk.audio.sessions.create()`.
- Added response field `embedding` in `sdk.models.list()` and `sdk.models.retrieve()`.
- Added request enum values `fast` and `priority` in `sdk.chat.complete()`, `sdk.chat.stream()`, `sdk.agents.complete()`, and `sdk.agents.stream()`.

### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.807.0 (2.956.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v3.10.0] .
### Releases
- [PyPI v3.10.0] https://pypi.org/project/mistralai/3.10.0 - .
2 changes: 1 addition & 1 deletion docs/models/agentscompletionrequest.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/models/agentscompletionstreamrequest.md

Large diffs are not rendered by default.

Loading
Loading