Skip to content

Commit 9c6db6e

Browse files
committed
## Python SDK Changes:
* `mistral.beta.conversations.restart_stream()`: `request.agent_version` **Changed** **Breaking** ⚠️ * `mistral.beta.conversations.start()`: `request.agent_version` **Changed** **Breaking** ⚠️ * `mistral.beta.conversations.list()`: `response.[].[agent_conversation].agent_version` **Changed** **Breaking** ⚠️ * `mistral.beta.conversations.get()`: `response.[agent_conversation].agent_version` **Changed** **Breaking** ⚠️ * `mistral.beta.conversations.restart()`: `request.agent_version` **Changed** **Breaking** ⚠️ * `mistral.beta.conversations.start_stream()`: `request.agent_version` **Changed** **Breaking** ⚠️ * `mistral.beta.agents.get()`: `request.agent_version` **Changed** **Breaking** ⚠️ * `mistral.beta.agents.get_version()`: `request.version` **Changed** **Breaking** ⚠️ * `mistral.beta.agents.list_version_aliases()`: **Added** * `mistral.models.list()`: `response.data.[].[base].capabilities.audio_transcription` **Added** * `mistral.models.retrieve()`: `response.[base].capabilities.audio_transcription` **Added** * `mistral.beta.agents.create_version_alias()`: **Added** * `mistral.files.list()`: `request.mimetypes` **Added**
1 parent ba8edee commit 9c6db6e

File tree

57 files changed

+1405
-163
lines changed

Some content is hidden

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

57 files changed

+1405
-163
lines changed

.speakeasy/gen.lock

Lines changed: 193 additions & 68 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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ sources:
1414
- latest
1515
mistral-openapi:
1616
sourceNamespace: mistral-openapi
17-
sourceRevisionDigest: sha256:fd94dc1f574f3bb88a839543675b2c3b3aa895519ec2797efb143ead830ae982
18-
sourceBlobDigest: sha256:2dd0ee9d000907ffe699cdd48a18163b88297d0ce63f2cdc05efa35cee136bc0
17+
sourceRevisionDigest: sha256:56bcbb02148ddfabd64cb2dced1a9efe0f00d0fa106435fdd0fb2a889c1c6fed
18+
sourceBlobDigest: sha256:c014d9220f14e04b573acf291c173954b8d34d03d852877a91756afb68ccc65b
1919
tags:
2020
- latest
21-
- speakeasy-sdk-regen-1768506286
21+
- speakeasy-sdk-regen-1769979831
2222
targets:
2323
mistralai-azure-sdk:
2424
source: mistral-azure-source
@@ -37,10 +37,10 @@ targets:
3737
mistralai-sdk:
3838
source: mistral-openapi
3939
sourceNamespace: mistral-openapi
40-
sourceRevisionDigest: sha256:fd94dc1f574f3bb88a839543675b2c3b3aa895519ec2797efb143ead830ae982
41-
sourceBlobDigest: sha256:2dd0ee9d000907ffe699cdd48a18163b88297d0ce63f2cdc05efa35cee136bc0
40+
sourceRevisionDigest: sha256:56bcbb02148ddfabd64cb2dced1a9efe0f00d0fa106435fdd0fb2a889c1c6fed
41+
sourceBlobDigest: sha256:c014d9220f14e04b573acf291c173954b8d34d03d852877a91756afb68ccc65b
4242
codeSamplesNamespace: mistral-openapi-code-samples
43-
codeSamplesRevisionDigest: sha256:881a74af90c5678411207a0a9b0e370496d44b18174e96ba7c6812d400788637
43+
codeSamplesRevisionDigest: sha256:feb7bf2f6fab8456316453c7e14eda6201fe8649fe0ffcdb1eaa4580cc66a51e
4444
workflow:
4545
workflowVersion: 1.0.0
4646
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:10:41
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)