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
471 changes: 374 additions & 97 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.10.0
version: 3.11.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:03f02d58fb727be38f91d279a1b8cdf44899ac4c87d3299689b5efbf66a1cd35
sourceBlobDigest: sha256:0a1d25888d666ce0ca729ee3a12d20ab638748fb775f87ccb43ac8d36a94691b
sourceRevisionDigest: sha256:7db804c38a750297d553e764de6998e8ffb80e96a8f04bc97b94e11c21528dac
sourceBlobDigest: sha256:c9ed98c9433161c3e867c481af698dd95e6151f5c6656e914abb405cf8db5b6d
tags:
- latest
- 1.0.0
Expand All @@ -39,10 +39,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:03f02d58fb727be38f91d279a1b8cdf44899ac4c87d3299689b5efbf66a1cd35
sourceBlobDigest: sha256:0a1d25888d666ce0ca729ee3a12d20ab638748fb775f87ccb43ac8d36a94691b
sourceRevisionDigest: sha256:7db804c38a750297d553e764de6998e8ffb80e96a8f04bc97b94e11c21528dac
sourceBlobDigest: sha256:c9ed98c9433161c3e867c481af698dd95e6151f5c6656e914abb405cf8db5b6d
codeSamplesNamespace: mistral-openapi-python-code-samples
codeSamplesRevisionDigest: sha256:348e5a232b567564532245764fcf50faa7da7e5c4d1579ba1facde365326f3d2
codeSamplesRevisionDigest: sha256:7275c51bbeba4bd3c86e584d40820ba4188fb48f914dcb00d05505066dfe6732
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.807.0
Expand Down
12 changes: 9 additions & 3 deletions README-PYPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ print(res.choices[0].message.content)
#### [Beta.Observability.Evaluations.Runs](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsruns/README.md)

* [search](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsruns/README.md#search) - Search evaluation runs with filters
* [compare](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsruns/README.md#compare) - Compare candidate runs against a baseline run of the same evaluation
* [search_all](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsruns/README.md#search_all) - Search evaluation runs across all evaluations
* [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsruns/README.md#get) - Get a specific evaluation run by ID
* [get_statistics](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsruns/README.md#get_statistics) - Get statistics for a specific evaluation run
Expand Down Expand Up @@ -855,6 +856,11 @@ print(res.choices[0].message.content)
* [create](https://github.com/mistralai/client-python/blob/main/docs/sdks/responses/README.md#create) - Create Response
* [count_input_tokens](https://github.com/mistralai/client-python/blob/main/docs/sdks/responses/README.md#count_input_tokens) - Count Input Tokens

### [Watermarking](https://github.com/mistralai/client-python/blob/main/docs/sdks/watermarking/README.md)

* [detect](https://github.com/mistralai/client-python/blob/main/docs/sdks/watermarking/README.md#detect) - Detections
* [detect_multipart](https://github.com/mistralai/client-python/blob/main/docs/sdks/watermarking/README.md#detect_multipart) - Detections

### [Workflows](https://github.com/mistralai/client-python/blob/main/docs/sdks/workflows/README.md)

* [get_workflows](https://github.com/mistralai/client-python/blob/main/docs/sdks/workflows/README.md#get_workflows) - Get Workflows
Expand Down Expand Up @@ -1182,9 +1188,9 @@ with Mistral(


**Inherit from [`MistralError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/mistralerror.py)**:
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 189 of 300 methods.*
* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 63 of 300 methods.*
* [`ConnectorErrorResponse`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/connectorerrorresponse.py): Applicable to 4 of 300 methods.*
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 189 of 303 methods.*
* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 64 of 303 methods.*
* [`ConnectorErrorResponse`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/connectorerrorresponse.py): Applicable to 4 of 303 methods.*
* [`ResponseValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.

</details>
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ print(res.choices[0].message.content)
#### [Beta.Observability.Evaluations.Runs](docs/sdks/evaluationsruns/README.md)

* [search](docs/sdks/evaluationsruns/README.md#search) - Search evaluation runs with filters
* [compare](docs/sdks/evaluationsruns/README.md#compare) - Compare candidate runs against a baseline run of the same evaluation
* [search_all](docs/sdks/evaluationsruns/README.md#search_all) - Search evaluation runs across all evaluations
* [get](docs/sdks/evaluationsruns/README.md#get) - Get a specific evaluation run by ID
* [get_statistics](docs/sdks/evaluationsruns/README.md#get_statistics) - Get statistics for a specific evaluation run
Expand Down Expand Up @@ -855,6 +856,11 @@ print(res.choices[0].message.content)
* [create](docs/sdks/responses/README.md#create) - Create Response
* [count_input_tokens](docs/sdks/responses/README.md#count_input_tokens) - Count Input Tokens

### [Watermarking](docs/sdks/watermarking/README.md)

* [detect](docs/sdks/watermarking/README.md#detect) - Detections
* [detect_multipart](docs/sdks/watermarking/README.md#detect_multipart) - Detections

### [Workflows](docs/sdks/workflows/README.md)

* [get_workflows](docs/sdks/workflows/README.md#get_workflows) - Get Workflows
Expand Down Expand Up @@ -1182,9 +1188,9 @@ with Mistral(


**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 189 of 300 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 63 of 300 methods.*
* [`ConnectorErrorResponse`](./src/mistralai/client/errors/connectorerrorresponse.py): Applicable to 4 of 300 methods.*
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 189 of 303 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 64 of 303 methods.*
* [`ConnectorErrorResponse`](./src/mistralai/client/errors/connectorerrorresponse.py): Applicable to 4 of 303 methods.*
* [`ResponseValidationError`](./src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.

</details>
Expand Down
46 changes: 46 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2110,3 +2110,49 @@ Based on:
- [python v3.10.0] .
### Releases
- [PyPI v3.10.0] https://pypi.org/project/mistralai/3.10.0 - .

## 2026-12-01 21:19:13
### Generated SDK baseline differences
The published SDK or generator baseline differs from the baseline used by the OpenAPI changelog.

<details>
<summary>Generated surface details</summary>

#### Stable compatibility changes
Now required on an existing stable model (1):
- `Mistral.watermarking`
#### Stable type changes
Changed types or signatures on the stable surface (3):
- `DeploymentWorkerSpecInput.github_url: OptionalNullable[str] -> Annotated[OptionalNullable[str], pydantic.Field(deprecated='warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.')]`
- `DeploymentWorkerSpecResponse.github_url: str -> Annotated[str, pydantic.Field(deprecated='warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.')]`
- `WorkflowsWorkerSpecUpdate.github_url: OptionalNullable[str] -> Annotated[OptionalNullable[str], pydantic.Field(deprecated='warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.')]`
</details>

### API changes
#### Added operations

Stable:

- `sdk.watermarking.detect()`
- `sdk.watermarking.detect_multipart()`

Beta:

- `sdk.beta.observability.evaluations.runs.compare()`

#### Schema changes

- Added enum values `comparison_work_limit_exceeded` and `evaluation_run_not_in_evaluation` 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 enum values `oauth_client_registration_failed` and `shared_connector_urls_locked` in `sdk.beta.connectors.create()`, `sdk.beta.connectors.create_credentials()`, `sdk.beta.connectors.update_credentials()`, and `sdk.beta.connectors.update()`.
- Added request variant `contains` in `sdk.beta.context.search_indexes.search()`.
- Added request field `watermarking` in `sdk.audio.speech.complete()`, `sdk.chat.complete()`, and `sdk.chat.stream()`.
- Added request field `stt` in `sdk.audio.sessions.update()`.

### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.807.0 (2.956.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v3.11.0] .
### Releases
- [PyPI v3.11.0] https://pypi.org/project/mistralai/3.11.0 - .
6 changes: 6 additions & 0 deletions docs/models/andmatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
value: models.And = /* values here */
```

### `models.Contains`

```python
value: models.Contains = /* values here */
```

### `models.Equal`

```python
Expand Down
8 changes: 8 additions & 0 deletions docs/models/audiosessionsttupdate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# AudioSessionSTTUpdate


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `turn_detection` | [OptionalNullable[models.AudioTurnDetectionConfig]](../models/audioturndetectionconfig.md) | :heavy_minus_sign: | N/A |
3 changes: 2 additions & 1 deletion docs/models/audiosessionupdaterequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| `instructions` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `tools` | List[[models.AudioSessionUpdateRequestTool](../models/audiosessionupdaterequesttool.md)] | :heavy_minus_sign: | N/A |
| `turn` | [OptionalNullable[models.AudioSessionTurnUpdate]](../models/audiosessionturnupdate.md) | :heavy_minus_sign: | N/A |
| `turn` | [OptionalNullable[models.AudioSessionTurnUpdate]](../models/audiosessionturnupdate.md) | :heavy_minus_sign: | N/A |
| `stt` | [OptionalNullable[models.AudioSessionSTTUpdate]](../models/audiosessionsttupdate.md) | :heavy_minus_sign: | N/A |
Loading
Loading