Skip to content

Commit 7b87477

Browse files
authored
Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.12.0 #335
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.12.0
2 parents ba8edee + 494ac9b commit 7b87477

85 files changed

Lines changed: 2699 additions & 250 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: 208 additions & 98 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
@@ -26,7 +26,7 @@ generation:
2626
generateNewTests: false
2727
skipResponseBodyAssertions: false
2828
python:
29-
version: 1.11.1
29+
version: 1.12.0
3030
additionalDependencies:
3131
dev:
3232
pytest: ^8.2.2

.speakeasy/workflow.lock

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ sources:
1414
- latest
1515
mistral-openapi:
1616
sourceNamespace: mistral-openapi
17-
sourceRevisionDigest: sha256:fd94dc1f574f3bb88a839543675b2c3b3aa895519ec2797efb143ead830ae982
18-
sourceBlobDigest: sha256:2dd0ee9d000907ffe699cdd48a18163b88297d0ce63f2cdc05efa35cee136bc0
17+
sourceRevisionDigest: sha256:4e49849eba5334a3fe4a3d081baa9afdecd8f41dfc4c2a5115bc19ead4d92d13
18+
sourceBlobDigest: sha256:3ab3c61ac6a4e9fab37d924d516838ca27dd7e57a1b5e9059d4db2ef29efec56
1919
tags:
2020
- latest
21-
- speakeasy-sdk-regen-1768506286
2221
targets:
2322
mistralai-azure-sdk:
2423
source: mistral-azure-source
@@ -37,10 +36,10 @@ targets:
3736
mistralai-sdk:
3837
source: mistral-openapi
3938
sourceNamespace: mistral-openapi
40-
sourceRevisionDigest: sha256:fd94dc1f574f3bb88a839543675b2c3b3aa895519ec2797efb143ead830ae982
41-
sourceBlobDigest: sha256:2dd0ee9d000907ffe699cdd48a18163b88297d0ce63f2cdc05efa35cee136bc0
39+
sourceRevisionDigest: sha256:4e49849eba5334a3fe4a3d081baa9afdecd8f41dfc4c2a5115bc19ead4d92d13
40+
sourceBlobDigest: sha256:3ab3c61ac6a4e9fab37d924d516838ca27dd7e57a1b5e9059d4db2ef29efec56
4241
codeSamplesNamespace: mistral-openapi-code-samples
43-
codeSamplesRevisionDigest: sha256:881a74af90c5678411207a0a9b0e370496d44b18174e96ba7c6812d400788637
42+
codeSamplesRevisionDigest: sha256:8fa56ecd9dd6e5f831fb96c4cfd00c65f617a03ff67f876d75ecdf28cb5bbf3c
4443
workflow:
4544
workflowVersion: 1.0.0
4645
speakeasyVersion: 1.685.0

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,8 @@ The documentation for the GCP SDK is available [here](packages/mistralai_gcp/REA
475475
* [update_version](docs/sdks/mistralagents/README.md#update_version) - Update an agent version.
476476
* [list_versions](docs/sdks/mistralagents/README.md#list_versions) - List all versions of an agent.
477477
* [get_version](docs/sdks/mistralagents/README.md#get_version) - Retrieve a specific version of an agent.
478+
* [create_version_alias](docs/sdks/mistralagents/README.md#create_version_alias) - Create or update an agent version alias.
479+
* [list_version_aliases](docs/sdks/mistralagents/README.md#list_version_aliases) - List all aliases for an agent.
478480

479481
### [Beta.Conversations](docs/sdks/conversations/README.md)
480482

@@ -752,7 +754,7 @@ with Mistral(
752754

753755

754756
**Inherit from [`MistralError`](./src/mistralai/models/mistralerror.py)**:
755-
* [`HTTPValidationError`](./src/mistralai/models/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 50 of 72 methods.*
757+
* [`HTTPValidationError`](./src/mistralai/models/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 52 of 74 methods.*
756758
* [`ResponseValidationError`](./src/mistralai/models/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
757759

758760
</details>

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,4 +358,14 @@ Based on:
358358
### Generated
359359
- [python v1.11.1] .
360360
### Releases
361-
- [PyPI v1.11.1] https://pypi.org/project/mistralai/1.11.1 - .
361+
- [PyPI v1.11.1] https://pypi.org/project/mistralai/1.11.1 - .
362+
363+
## 2026-02-01 21:20:42
364+
### Changes
365+
Based on:
366+
- OpenAPI Doc
367+
- Speakeasy CLI 1.685.0 (2.794.1) https://github.com/speakeasy-api/speakeasy
368+
### Generated
369+
- [python v1.12.0] .
370+
### Releases
371+
- [PyPI v1.12.0] https://pypi.org/project/mistralai/1.12.0 - .

docs/models/agentaliasresponse.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# AgentAliasResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
8+
| `alias` | *str* | :heavy_check_mark: | N/A |
9+
| `version` | *int* | :heavy_check_mark: | N/A |
10+
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
11+
| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |

docs/models/agentconversation.md

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

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
8-
| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | Name given to the conversation. |
9-
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | Description of the what the conversation is about. |
10-
| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | Custom metadata for the conversation. |
11-
| `object` | [Optional[models.AgentConversationObject]](../models/agentconversationobject.md) | :heavy_minus_sign: | N/A |
12-
| `id` | *str* | :heavy_check_mark: | N/A |
13-
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
14-
| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
15-
| `agent_id` | *str* | :heavy_check_mark: | N/A |
16-
| `agent_version` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A |
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
8+
| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | Name given to the conversation. |
9+
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | Description of the what the conversation is about. |
10+
| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | Custom metadata for the conversation. |
11+
| `object` | [Optional[models.AgentConversationObject]](../models/agentconversationobject.md) | :heavy_minus_sign: | N/A |
12+
| `id` | *str* | :heavy_check_mark: | N/A |
13+
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
14+
| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
15+
| `agent_id` | *str* | :heavy_check_mark: | N/A |
16+
| `agent_version` | [OptionalNullable[models.AgentConversationAgentVersion]](../models/agentconversationagentversion.md) | :heavy_minus_sign: | N/A |
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# AgentConversationAgentVersion
2+
3+
4+
## Supported Types
5+
6+
### `str`
7+
8+
```python
9+
value: str = /* values here */
10+
```
11+
12+
### `int`
13+
14+
```python
15+
value: int = /* values here */
16+
```
17+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# AgentsAPIV1AgentsCreateOrUpdateAliasRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `agent_id` | *str* | :heavy_check_mark: | N/A |
9+
| `alias` | *str* | :heavy_check_mark: | N/A |
10+
| `version` | *int* | :heavy_check_mark: | N/A |

docs/models/agentsapiv1agentsgetrequest.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-
| `agent_id` | *str* | :heavy_check_mark: | N/A |
9-
| `agent_version` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A |
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
8+
| `agent_id` | *str* | :heavy_check_mark: | N/A |
9+
| `agent_version` | [OptionalNullable[models.QueryParamAgentVersion]](../models/queryparamagentversion.md) | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)