Skip to content

Commit c8269c2

Browse files
maiengineeringspeakeasybotactions-user
authored
chore: šŸ Update SDK - Generate MISTRALAI MISTRALAI-SDK [speakeasy/mistralai-sdk-27822666725-1] 2.4.13 (mistralai#571)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.763.6 * chore: align pyproject.toml and uv.lock to version 2.4.13 --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: GitHub Action <action@github.com>
1 parent 8a259f6 commit c8269c2

133 files changed

Lines changed: 2737 additions & 1377 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ā€Ž.speakeasy/gen.lockā€Ž

Lines changed: 357 additions & 271 deletions
Large diffs are not rendered by default.

ā€Ž.speakeasy/gen.yamlā€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ generation:
3232
generateNewTests: false
3333
skipResponseBodyAssertions: false
3434
python:
35-
version: 2.4.12
35+
version: 2.4.13
3636
additionalDependencies:
3737
dev:
3838
pytest: ^8.2.2

ā€Ž.speakeasy/workflow.lockā€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ sources:
1616
- speakeasy-mistralai-gcp-sdk-26292830187-1
1717
mistral-openapi:
1818
sourceNamespace: mistral-openapi
19-
sourceRevisionDigest: sha256:f1ff6181c7e46c198d9640cfc832e69b3287eef1b8901dc1a8f4c310a16c0989
20-
sourceBlobDigest: sha256:b1b70c5def499002662a58f9b986a4a424f46abfc21db555c039e1cc12fc3555
19+
sourceRevisionDigest: sha256:c388b952cb16e3ac74bfacefbd71b3bcf68d516a943623beaf0a24cb064688f9
20+
sourceBlobDigest: sha256:1544d486fd380743ad5769c3c244c645deb51d039940c1e055dde57095a3d494
2121
tags:
2222
- latest
23-
- speakeasy-mistralai-sdk-27689953008-1
23+
- speakeasy-mistralai-sdk-27822666725-1
2424
targets:
2525
mistralai-azure-sdk:
2626
source: mistral-azure-source
@@ -39,10 +39,10 @@ targets:
3939
mistralai-sdk:
4040
source: mistral-openapi
4141
sourceNamespace: mistral-openapi
42-
sourceRevisionDigest: sha256:f1ff6181c7e46c198d9640cfc832e69b3287eef1b8901dc1a8f4c310a16c0989
43-
sourceBlobDigest: sha256:b1b70c5def499002662a58f9b986a4a424f46abfc21db555c039e1cc12fc3555
42+
sourceRevisionDigest: sha256:c388b952cb16e3ac74bfacefbd71b3bcf68d516a943623beaf0a24cb064688f9
43+
sourceBlobDigest: sha256:1544d486fd380743ad5769c3c244c645deb51d039940c1e055dde57095a3d494
4444
codeSamplesNamespace: mistral-openapi-code-samples
45-
codeSamplesRevisionDigest: sha256:220f7823e9d004e00764fa0aa1b4ec0c23c03f22eb51fa78e1ee4435589b764b
45+
codeSamplesRevisionDigest: sha256:1155a1c5a093786356d54606c6edb16ce7ae0c5d68847c6b062c61ba36bb9cd7
4646
workflow:
4747
workflowVersion: 1.0.0
4848
speakeasyVersion: 1.763.6

ā€ŽREADME.mdā€Ž

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ print(res.choices[0].message.content)
754754

755755
* [list_deployments](docs/sdks/deployments/README.md#list_deployments) - List Deployments
756756
* [get_deployment](docs/sdks/deployments/README.md#get_deployment) - Get Deployment
757+
* [get_deployment_logs](docs/sdks/deployments/README.md#get_deployment_logs) - Get Deployment Logs
758+
* [stream_deployment_logs](docs/sdks/deployments/README.md#stream_deployment_logs) - Stream Deployment Logs
757759

758760
#### [Workflows.Events](docs/sdks/workflowsevents/README.md)
759761

@@ -1010,8 +1012,8 @@ with Mistral(
10101012

10111013

10121014
**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
1013-
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 140 of 223 methods.*
1014-
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 57 of 223 methods.*
1015+
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 142 of 225 methods.*
1016+
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 57 of 225 methods.*
10151017
* [`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.
10161018

10171019
</details>

ā€ŽRELEASES.mdā€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,4 +698,14 @@ Based on:
698698
### Generated
699699
- [python v2.4.12] .
700700
### Releases
701-
- [PyPI v2.4.12] https://pypi.org/project/mistralai/2.4.12 - .
701+
- [PyPI v2.4.12] https://pypi.org/project/mistralai/2.4.12 - .
702+
703+
## 2026-06-19 11:26:36
704+
### Changes
705+
Based on:
706+
- OpenAPI Doc
707+
- Speakeasy CLI 1.763.6 (2.884.13) https://github.com/speakeasy-api/speakeasy
708+
### Generated
709+
- [python v2.4.13] .
710+
### Releases
711+
- [PyPI v2.4.13] https://pypi.org/project/mistralai/2.4.13 - .

ā€Ždocs/models/credentialsstatus.mdā€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
8-
| `status_type` | [models.AuthStatus](../models/authstatus.md) | :heavy_check_mark: | N/A |
9-
| `last_checked_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A |
10-
| `error_http_code` | [OptionalNullable[models.HTTPStatus]](../models/httpstatus.md) | :heavy_minus_sign: | N/A |
11-
| `error_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
8+
| `status_type` | [models.AuthStatus](../models/authstatus.md) | :heavy_check_mark: | N/A |
9+
| `last_checked_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A |
10+
| `error_http_code` | [OptionalNullable[models.HTTPStatus]](../models/httpstatus.md) | :heavy_minus_sign: | N/A |
11+
| `error_message` | [OptionalNullable[models.CredentialsStatusErrorReason]](../models/credentialsstatuserrorreason.md) | :heavy_minus_sign: | N/A |
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# CredentialsStatusErrorReason
2+
3+
## Example Usage
4+
5+
```python
6+
from mistralai.client.models import CredentialsStatusErrorReason
7+
8+
# Open enum: unrecognized values are captured as UnrecognizedStr
9+
value: CredentialsStatusErrorReason = "oauth expired"
10+
```
11+
12+
13+
## Values
14+
15+
This is an open enum. Unrecognized values will not fail type checks.
16+
17+
- `"oauth expired"`
18+
- `"oauth near expiry"`
19+
- `"empty credentials"`
20+
- `"unparsable credentials"`
21+
- `"you need to reconnect"`
22+
- `"oauth refresh error"`
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# DeploymentLogRecord
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
8+
| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
9+
| `trace_id` | *str* | :heavy_check_mark: | N/A |
10+
| `span_id` | *str* | :heavy_check_mark: | N/A |
11+
| `severity_text` | *str* | :heavy_check_mark: | N/A |
12+
| `body` | *str* | :heavy_check_mark: | N/A |
13+
| `log_attributes` | Dict[str, *str*] | :heavy_check_mark: | N/A |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# DeploymentLogSearchResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
8+
| `results` | List[[models.DeploymentLogRecord](../models/deploymentlogrecord.md)] | :heavy_check_mark: | N/A |
9+
| `next_cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# GetDeploymentLogsOrder
2+
3+
First-page sort order: 'asc' (oldest first) or 'desc'. Ignored when `cursor` is set.
4+
5+
## Example Usage
6+
7+
```python
8+
from mistralai.client.models import GetDeploymentLogsOrder
9+
value: GetDeploymentLogsOrder = "asc"
10+
```
11+
12+
13+
## Values
14+
15+
- `"asc"`
16+
- `"desc"`

0 commit comments

Comments
Ā (0)