Skip to content

Commit 7a87303

Browse files
maiengineeringspeakeasybotactions-user
authored
chore: šŸ Update SDK - Generate MISTRALAI MISTRALAI-SDK [speakeasy/mistralai-sdk-29826413688-1] 2.7.1 (#595)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.763.6 * chore: align package version files to version 2.7.1 --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: GitHub Action <action@github.com>
1 parent 53fe998 commit 7a87303

77 files changed

Lines changed: 3161 additions & 315 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: 281 additions & 84 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.7.0
35+
version: 2.7.1
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:45f48569f77b2594726990a398bbfc067534087872b4b354909874aea2947eec
20-
sourceBlobDigest: sha256:79a21b93193e5d5b63b79a79c55aed6778c98b6dfebc96066c5db2fd9580476b
19+
sourceRevisionDigest: sha256:aaceff5297440f2545e696842c26fbbf505e60067232987bd76d840163d50756
20+
sourceBlobDigest: sha256:4cfba6fafb89e46c6a1b760dc751b71cd15a7826104ed6bbcb8db3f4b5379259
2121
tags:
2222
- latest
23-
- speakeasy-mistralai-sdk-29108619696-1
23+
- speakeasy-mistralai-sdk-29826413688-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:45f48569f77b2594726990a398bbfc067534087872b4b354909874aea2947eec
43-
sourceBlobDigest: sha256:79a21b93193e5d5b63b79a79c55aed6778c98b6dfebc96066c5db2fd9580476b
42+
sourceRevisionDigest: sha256:aaceff5297440f2545e696842c26fbbf505e60067232987bd76d840163d50756
43+
sourceBlobDigest: sha256:4cfba6fafb89e46c6a1b760dc751b71cd15a7826104ed6bbcb8db3f4b5379259
4444
codeSamplesNamespace: mistral-openapi-code-samples
45-
codeSamplesRevisionDigest: sha256:1287373c382da57b707e755a2eb775ead35bbe8e00b4ed7c8312cf52166a3617
45+
codeSamplesRevisionDigest: sha256:ab9dd45213695e6f7fe7db65ae525822ad2c2312c98f80d949cd0658ea04795e
4646
workflow:
4747
workflowVersion: 1.0.0
4848
speakeasyVersion: 1.763.6

ā€ŽREADME.mdā€Ž

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,13 @@ print(res.choices[0].message.content)
784784
#### [Workflows.Deployments](docs/sdks/deployments/README.md)
785785

786786
* [list_deployments](docs/sdks/deployments/README.md#list_deployments) - List Deployments
787+
* [create_deployment](docs/sdks/deployments/README.md#create_deployment) - Create Deployment
788+
* [update_deployment](docs/sdks/deployments/README.md#update_deployment) - Update Deployment
789+
* [delete_deployment](docs/sdks/deployments/README.md#delete_deployment) - Delete Deployment
787790
* [get_deployment](docs/sdks/deployments/README.md#get_deployment) - Get Deployment
791+
* [stop_deployment](docs/sdks/deployments/README.md#stop_deployment) - Stop Deployment
792+
* [start_deployment](docs/sdks/deployments/README.md#start_deployment) - Start Deployment
793+
* [restart_deployment](docs/sdks/deployments/README.md#restart_deployment) - Restart Deployment
788794
* [get_deployment_logs](docs/sdks/deployments/README.md#get_deployment_logs) - Get Deployment Logs
789795
* [stream_deployment_logs](docs/sdks/deployments/README.md#stream_deployment_logs) - Stream Deployment Logs
790796

@@ -1087,8 +1093,8 @@ with Mistral(
10871093

10881094

10891095
**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
1090-
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 152 of 249 methods.*
1091-
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 57 of 249 methods.*
1096+
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 158 of 255 methods.*
1097+
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 57 of 255 methods.*
10921098
* [`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.
10931099

10941100
</details>

ā€ŽRELEASES.mdā€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,4 +768,14 @@ Based on:
768768
### Generated
769769
- [python v2.7.0] .
770770
### Releases
771-
- [PyPI v2.7.0] https://pypi.org/project/mistralai/2.7.0 - .
771+
- [PyPI v2.7.0] https://pypi.org/project/mistralai/2.7.0 - .
772+
773+
## 2026-07-21 11:46:55
774+
### Changes
775+
Based on:
776+
- OpenAPI Doc
777+
- Speakeasy CLI 1.763.6 (2.884.13) https://github.com/speakeasy-api/speakeasy
778+
### Generated
779+
- [python v2.7.1] .
780+
### Releases
781+
- [PyPI v2.7.1] https://pypi.org/project/mistralai/2.7.1 - .

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

Lines changed: 0 additions & 9 deletions
This file was deleted.

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

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

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
8-
| `payload` | [models.ConversationPayload](../models/conversationpayload.md) | :heavy_check_mark: | N/A |
9-
| `properties` | Dict[str, *Any*] | :heavy_check_mark: | N/A |
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
8+
| `payload` | Dict[str, *Any*] | :heavy_check_mark: | Caller-authored input object stored on a dataset record. |
9+
| `properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CreateDeploymentRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
8+
| `name` | *str* | :heavy_check_mark: | N/A |
9+
| `spec` | [models.DeploymentWorkerSpecInput](../models/deploymentworkerspecinput.md) | :heavy_check_mark: | N/A |
10+
| `resources` | [OptionalNullable[models.DeploymentResourceConfig]](../models/deploymentresourceconfig.md) | :heavy_minus_sign: | N/A |

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
1111
| `deleted_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
1212
| `dataset_id` | *str* | :heavy_check_mark: | N/A |
13-
| `payload` | [models.ConversationPayload](../models/conversationpayload.md) | :heavy_check_mark: | N/A |
13+
| `payload` | Dict[str, *Any*] | :heavy_check_mark: | Caller-authored input object stored on a dataset record. |
1414
| `properties` | Dict[str, *Any*] | :heavy_check_mark: | N/A |
15-
| `source` | [models.ConversationSource](../models/conversationsource.md) | :heavy_check_mark: | N/A |
15+
| `source` | [models.DatasetRecordSource](../models/datasetrecordsource.md) | :heavy_check_mark: | N/A |
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# ConversationSource
1+
# DatasetRecordSource
22

33
## Example Usage
44

55
```python
6-
from mistralai.client.models import ConversationSource
6+
from mistralai.client.models import DatasetRecordSource
77

88
# Open enum: unrecognized values are captured as UnrecognizedStr
9-
value: ConversationSource = "EXPLORER"
9+
value: DatasetRecordSource = "EXPLORER"
1010
```
1111

1212

0 commit comments

Comments
Ā (0)