Skip to content

Commit 8da1e18

Browse files
github-actions[bot]speakeasybotactions-user
authored
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 2.0.1 (#421)
* ## Python SDK Changes: * `mistral.chat.complete()`: * `request.messages[].union(user).content.union(Array<ContentChunk>)[].union(audio_url)` **Removed** (Breaking ⚠️) * `response.choices[].message.content.union(Array<ContentChunk>)[].union(audio_url)` **Removed** (Breaking ⚠️) * `mistral.classifiers.classify_chat()`: * `request.input.union(InstructRequest).messages[].union(user).content.union(Array<ContentChunk>)[].union(audio_url)` **Removed** (Breaking ⚠️) * `mistral.classifiers.moderate_chat()`: * `request.inputs.union(Array<>)[].union(user).content.union(Array<ContentChunk>)[].union(audio_url)` **Removed** (Breaking ⚠️) * `mistral.agents.stream()`: * `request.messages[].union(user).content.union(Array<ContentChunk>)[].union(audio_url)` **Removed** (Breaking ⚠️) * `response.[].data.choices[].delta.content.union(Array<ContentChunk>)[].union(audio_url)` **Removed** (Breaking ⚠️) * `mistral.agents.complete()`: * `request.messages[].union(user).content.union(Array<ContentChunk>)[].union(audio_url)` **Removed** (Breaking ⚠️) * `response.choices[].message.content.union(Array<ContentChunk>)[].union(audio_url)` **Removed** (Breaking ⚠️) * `mistral.fim.stream()`: `response.[].data.choices[].delta.content.union(Array<ContentChunk>)[].union(audio_url)` **Removed** (Breaking ⚠️) * `mistral.fim.complete()`: `response.choices[].message.content.union(Array<ContentChunk>)[].union(audio_url)` **Removed** (Breaking ⚠️) * `mistral.chat.stream()`: * `request.messages[].union(user).content.union(Array<ContentChunk>)[].union(audio_url)` **Removed** (Breaking ⚠️) * `response.[].data.choices[].delta.content.union(Array<ContentChunk>)[].union(audio_url)` **Removed** (Breaking ⚠️) * `mistral.beta.conversations.restart_stream()`: * `request.guardrails[]` **Changed** * `mistral.beta.agents.update()`: * `request` **Changed** * `response` **Changed** * `mistral.beta.agents.update_version()`: `response` **Changed** * `mistral.beta.agents.list_versions()`: `response.[]` **Changed** * `mistral.beta.agents.get_version()`: `response` **Changed** * `mistral.beta.agents.get()`: `response` **Changed** * `mistral.beta.agents.list()`: `response.[]` **Changed** * `mistral.beta.agents.create()`: * `request` **Changed** * `response` **Changed** * `mistral.beta.conversations.start()`: `request` **Changed** * `mistral.beta.conversations.start_stream()`: `request` **Changed** * `mistral.beta.conversations.restart()`: * `request.guardrails[]` **Changed** * `mistral.beta.conversations.get()`: `response.union(ModelConversation)` **Changed** * `mistral.beta.conversations.list()`: `response.[].union(ModelConversation)` **Changed** * chore: align pyproject.toml and uv.lock to version 2.0.1 --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: GitHub Action <action@github.com>
1 parent 6035f17 commit 8da1e18

48 files changed

Lines changed: 713 additions & 299 deletions

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: 107 additions & 83 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
@@ -31,7 +31,7 @@ generation:
3131
generateNewTests: false
3232
skipResponseBodyAssertions: false
3333
python:
34-
version: 2.0.0
34+
version: 2.0.1
3535
additionalDependencies:
3636
dev:
3737
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-sdk-regen-1773084660
1717
mistral-openapi:
1818
sourceNamespace: mistral-openapi
19-
sourceRevisionDigest: sha256:640293da26384ecedd813123997d7946815084924b8cbd91069aea0829d28b53
20-
sourceBlobDigest: sha256:940626b1345a63b95ae840bd523458ea2b418767d64b864ad06ded4d38c6ea4d
19+
sourceRevisionDigest: sha256:4ca07ff6dd708405d376cf74c8111d260aaa3aace7250a406ffbad01f3dfee44
20+
sourceBlobDigest: sha256:3a9d8e056455da40ba3d6b6abb665cf65ccc5b1ba63d84fb823c3156bd385a30
2121
tags:
2222
- latest
23-
- speakeasy-sdk-regen-1773084143
23+
- speakeasy-sdk-regen-1773249358
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:640293da26384ecedd813123997d7946815084924b8cbd91069aea0829d28b53
43-
sourceBlobDigest: sha256:940626b1345a63b95ae840bd523458ea2b418767d64b864ad06ded4d38c6ea4d
42+
sourceRevisionDigest: sha256:4ca07ff6dd708405d376cf74c8111d260aaa3aace7250a406ffbad01f3dfee44
43+
sourceBlobDigest: sha256:3a9d8e056455da40ba3d6b6abb665cf65ccc5b1ba63d84fb823c3156bd385a30
4444
codeSamplesNamespace: mistral-openapi-code-samples
45-
codeSamplesRevisionDigest: sha256:57a8f791effc62a15982c2ca9560bddbf4a9d03ae9cb0171f352e73a34e7cf61
45+
codeSamplesRevisionDigest: sha256:b626a4c6b6a48943ae2fd215af3aa30cb923f2bad94bf4bbbb6a9c5838ad1c79
4646
workflow:
4747
workflowVersion: 1.0.0
4848
speakeasyVersion: 1.729.0

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,4 +398,14 @@ Based on:
398398
### Generated
399399
- [python v2.0.0] .
400400
### Releases
401-
- [PyPI v2.0.0] https://pypi.org/project/mistralai/2.0.0 - .
401+
- [PyPI v2.0.0] https://pypi.org/project/mistralai/2.0.0 - .
402+
403+
## 2026-03-11 17:15:32
404+
### Changes
405+
Based on:
406+
- OpenAPI Doc
407+
- Speakeasy CLI 1.729.0 (2.841.0) https://github.com/speakeasy-api/speakeasy
408+
### Generated
409+
- [python v2.0.1] .
410+
### Releases
411+
- [PyPI v2.0.1] https://pypi.org/project/mistralai/2.0.1 - .

β€Ždocs/models/agenttool.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
value: models.CodeInterpreterTool = /* values here */
1010
```
1111

12+
### `models.CustomConnector`
13+
14+
```python
15+
value: models.CustomConnector = /* values here */
16+
```
17+
1218
### `models.DocumentLibraryTool`
1319

1420
```python

β€Ždocs/models/apikeyauth.mdβ€Ž

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# APIKeyAuth
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------- | -------------------- | -------------------- | -------------------- |
8+
| `type` | *Literal["api-key"]* | :heavy_check_mark: | N/A |
9+
| `value` | *str* | :heavy_check_mark: | N/A |

β€Ždocs/models/audiourl.mdβ€Ž

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

β€Ždocs/models/audiourlchunk.mdβ€Ž

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

β€Ždocs/models/audiourlunion.mdβ€Ž

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

β€Ždocs/models/authorization.mdβ€Ž

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Authorization
2+
3+
4+
## Supported Types
5+
6+
### `models.APIKeyAuth`
7+
8+
```python
9+
value: models.APIKeyAuth = /* values here */
10+
```
11+
12+
### `models.OAuth2TokenAuth`
13+
14+
```python
15+
value: models.OAuth2TokenAuth = /* values here */
16+
```
17+

0 commit comments

Comments
Β (0)