Skip to content

Commit 3071bbf

Browse files
committed
## Python SDK Changes:
* `mistral.fine-tuning.jobs.create()`: * `request` **Changed** **Breaking** ⚠️ * `response` **Changed** **Breaking** ⚠️ * `mistral.models.update()`: `response` **Changed** **Breaking** ⚠️ * `mistral.models.archive()`: `response.object` **Changed** **Breaking** ⚠️ * `mistral.models.unarchive()`: `response.object` **Changed** **Breaking** ⚠️ * `mistral.batch.jobs.cancel()`: `response.object` **Changed** **Breaking** ⚠️ * `mistral.batch.jobs.get()`: `response.object` **Changed** **Breaking** ⚠️ * `mistral.batch.jobs.create()`: `response.object` **Changed** **Breaking** ⚠️ * `mistral.batch.jobs.list()`: * `request.order_by` **Added** * `response` **Changed** **Breaking** ⚠️ * `mistral.fine-tuning.jobs.start()`: `response` **Changed** **Breaking** ⚠️ * `mistral.fine-tuning.jobs.cancel()`: `response` **Changed** **Breaking** ⚠️ * `mistral.fine-tuning.jobs.get()`: `response` **Changed** **Breaking** ⚠️ * `mistral.fine-tuning.jobs.list()`: `response` **Changed** **Breaking** ⚠️ * `mistral.beta.agents.list()`: * `request.search` **Added** * `response.[].version_message` **Added** * `mistral.beta.agents.get_version()`: `response.version_message` **Added** * `mistral.beta.agents.list_versions()`: `response.[].version_message` **Added** * `mistral.beta.agents.update_version()`: `response.version_message` **Added** * `mistral.beta.agents.update()`: * `request.version_message` **Added** * `response.version_message` **Added** * `mistral.beta.agents.get()`: `response.version_message` **Added** * `mistral.beta.agents.delete_version_alias()`: **Added** * `mistral.beta.agents.create()`: * `request.version_message` **Added** * `response.version_message` **Added**
1 parent 2ca81d4 commit 3071bbf

File tree

89 files changed

+928
-790
lines changed

Some content is hidden

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

89 files changed

+928
-790
lines changed

.speakeasy/gen.lock

Lines changed: 148 additions & 212 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.12.2
29+
version: 1.12.3
3030
additionalDependencies:
3131
dev:
3232
pytest: ^8.2.2

.speakeasy/workflow.lock

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ sources:
1414
- latest
1515
mistral-openapi:
1616
sourceNamespace: mistral-openapi
17-
sourceRevisionDigest: sha256:4e49849eba5334a3fe4a3d081baa9afdecd8f41dfc4c2a5115bc19ead4d92d13
18-
sourceBlobDigest: sha256:3ab3c61ac6a4e9fab37d924d516838ca27dd7e57a1b5e9059d4db2ef29efec56
17+
sourceRevisionDigest: sha256:68e24d172497384492f80cf1ec23b4fc8ad59fa199d511ef160a0fbc64aa0647
18+
sourceBlobDigest: sha256:de8480a3fb194b27118816d5960d922d9ee87d35c00768fa64086bf232c8cef7
1919
tags:
2020
- latest
21+
- speakeasy-sdk-regen-v1-1771338985
2122
targets:
2223
mistralai-azure-sdk:
2324
source: mistral-azure-source
@@ -36,10 +37,10 @@ targets:
3637
mistralai-sdk:
3738
source: mistral-openapi
3839
sourceNamespace: mistral-openapi
39-
sourceRevisionDigest: sha256:4e49849eba5334a3fe4a3d081baa9afdecd8f41dfc4c2a5115bc19ead4d92d13
40-
sourceBlobDigest: sha256:3ab3c61ac6a4e9fab37d924d516838ca27dd7e57a1b5e9059d4db2ef29efec56
40+
sourceRevisionDigest: sha256:68e24d172497384492f80cf1ec23b4fc8ad59fa199d511ef160a0fbc64aa0647
41+
sourceBlobDigest: sha256:de8480a3fb194b27118816d5960d922d9ee87d35c00768fa64086bf232c8cef7
4142
codeSamplesNamespace: mistral-openapi-code-samples
42-
codeSamplesRevisionDigest: sha256:683d30c7914996145aed198cc36b086810a2a6f24347214a30dccabf3bd1de0e
43+
codeSamplesRevisionDigest: sha256:017e32d4895b127fb81874746a264c38fb6e7f9afb57f482416bbc9be1208501
4344
workflow:
4445
workflowVersion: 1.0.0
4546
speakeasyVersion: 1.685.0

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ The documentation for the GCP SDK is available [here](packages/mistralai_gcp/REA
477477
* [get_version](docs/sdks/mistralagents/README.md#get_version) - Retrieve a specific version of an agent.
478478
* [create_version_alias](docs/sdks/mistralagents/README.md#create_version_alias) - Create or update an agent version alias.
479479
* [list_version_aliases](docs/sdks/mistralagents/README.md#list_version_aliases) - List all aliases for an agent.
480+
* [delete_version_alias](docs/sdks/mistralagents/README.md#delete_version_alias) - Delete an agent version alias.
480481

481482
### [Beta.Conversations](docs/sdks/conversations/README.md)
482483

@@ -754,7 +755,7 @@ with Mistral(
754755

755756

756757
**Inherit from [`MistralError`](./src/mistralai/models/mistralerror.py)**:
757-
* [`HTTPValidationError`](./src/mistralai/models/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 52 of 74 methods.*
758+
* [`HTTPValidationError`](./src/mistralai/models/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 53 of 75 methods.*
758759
* [`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.
759760

760761
</details>

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,4 +388,14 @@ Based on:
388388
### Generated
389389
- [python v1.12.2] .
390390
### Releases
391-
- [PyPI v1.12.2] https://pypi.org/project/mistralai/1.12.2 - .
391+
- [PyPI v1.12.2] https://pypi.org/project/mistralai/1.12.2 - .
392+
393+
## 2026-02-17 14:44:43
394+
### Changes
395+
Based on:
396+
- OpenAPI Doc
397+
- Speakeasy CLI 1.685.0 (2.794.1) https://github.com/speakeasy-api/speakeasy
398+
### Generated
399+
- [python v1.12.3] .
400+
### Releases
401+
- [PyPI v1.12.3] https://pypi.org/project/mistralai/1.12.3 - .

docs/models/agent.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@
2020
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
2121
| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
2222
| `deployment_chat` | *bool* | :heavy_check_mark: | N/A |
23-
| `source` | *str* | :heavy_check_mark: | N/A |
23+
| `source` | *str* | :heavy_check_mark: | N/A |
24+
| `version_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

docs/models/agentcreationrequest.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
| `name` | *str* | :heavy_check_mark: | N/A |
1313
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
1414
| `handoffs` | List[*str*] | :heavy_minus_sign: | N/A |
15-
| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
15+
| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
16+
| `version_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# AgentsAPIV1AgentsDeleteAliasRequest
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 |

docs/models/agentsapiv1agentslistrequest.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of agents per page |
1010
| `deployment_chat` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
1111
| `sources` | List[[models.RequestSource](../models/requestsource.md)] | :heavy_minus_sign: | N/A |
12-
| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
12+
| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by agent name |
13+
| `search` | *OptionalNullable[str]* | :heavy_minus_sign: | Search agents by name or ID |
1314
| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
1415
| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |

docs/models/agentupdaterequest.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
1414
| `handoffs` | List[*str*] | :heavy_minus_sign: | N/A |
1515
| `deployment_chat` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
16-
| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
16+
| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
17+
| `version_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)