Skip to content

Commit 9357abe

Browse files
Merge pull request #265 from mistralai/speakeasy-sdk-regen-1755678497
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.9.7
2 parents bbbe79c + a0c4bac commit 9357abe

File tree

10 files changed

+41
-23
lines changed

10 files changed

+41
-23
lines changed

.speakeasy/gen.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 2d045ec7-2ebb-4f4d-ad25-40953b132161
33
management:
4-
docChecksum: 52e6a68dbdc371fd28af0f2ae79505fa
4+
docChecksum: a38b769b82bac0658cf02fed22bdbde0
55
docVersion: 1.0.0
66
speakeasyVersion: 1.568.2
77
generationVersion: 2.634.2
8-
releaseVersion: 1.9.6
9-
configChecksum: 2b88c684b4750a8f781b81adb8480b58
8+
releaseVersion: 1.9.7
9+
configChecksum: 12add5d16b9129632055a59af01aa628
1010
repoURL: https://github.com/mistralai/client-python.git
1111
installationURL: https://github.com/mistralai/client-python.git
1212
published: true

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ generation:
2121
generateNewTests: false
2222
skipResponseBodyAssertions: false
2323
python:
24-
version: 1.9.6
24+
version: 1.9.7
2525
additionalDependencies:
2626
dev:
2727
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:55f3f81b4bc4061fe86e7c25987282480065414f142fdedfe5cb103de7161a2d
18-
sourceBlobDigest: sha256:f14bdfab5afcc84705d574e6fc22806c4a518292b255fec0643f1e1aa18ae58f
17+
sourceRevisionDigest: sha256:fcdf40207fa983a6ad7c0346f499d2b87ef2f1381a48e791a9a485bd40525ff8
18+
sourceBlobDigest: sha256:64fa97f0836a2441e32bc255ced698234c147c790775988102f17b493f0da87d
1919
tags:
2020
- latest
21-
- speakeasy-sdk-regen-1755069688
21+
- speakeasy-sdk-regen-1755678497
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:55f3f81b4bc4061fe86e7c25987282480065414f142fdedfe5cb103de7161a2d
41-
sourceBlobDigest: sha256:f14bdfab5afcc84705d574e6fc22806c4a518292b255fec0643f1e1aa18ae58f
40+
sourceRevisionDigest: sha256:fcdf40207fa983a6ad7c0346f499d2b87ef2f1381a48e791a9a485bd40525ff8
41+
sourceBlobDigest: sha256:64fa97f0836a2441e32bc255ced698234c147c790775988102f17b493f0da87d
4242
codeSamplesNamespace: mistral-openapi-code-samples
43-
codeSamplesRevisionDigest: sha256:42d98cf03323c832ebd0a3fe0d3927374d1c212998cc37a5d3372c1c6e8a31c8
43+
codeSamplesRevisionDigest: sha256:d53b8d8fa0068fc51569bdde2e319d0d2abdb019c80180d926a1a1a1f7fb56b3
4444
workflow:
4545
workflowVersion: 1.0.0
4646
speakeasyVersion: 1.568.2

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,4 +278,14 @@ Based on:
278278
### Generated
279279
- [python v1.9.6] .
280280
### Releases
281-
- [PyPI v1.9.6] https://pypi.org/project/mistralai/1.9.6 - .
281+
- [PyPI v1.9.6] https://pypi.org/project/mistralai/1.9.6 - .
282+
283+
## 2025-08-20 08:28:00
284+
### Changes
285+
Based on:
286+
- OpenAPI Doc
287+
- Speakeasy CLI 1.568.2 (2.634.2) https://github.com/speakeasy-api/speakeasy
288+
### Generated
289+
- [python v1.9.7] .
290+
### Releases
291+
- [PyPI v1.9.7] https://pypi.org/project/mistralai/1.9.7 - .

docs/models/messageinputcontentchunks.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,9 @@ value: models.ToolFileChunk = /* values here */
2727
value: models.DocumentURLChunk = /* values here */
2828
```
2929

30+
### `models.ThinkChunk`
31+
32+
```python
33+
value: models.ThinkChunk = /* values here */
34+
```
35+

docs/models/messageoutputcontentchunks.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ value: models.ToolFileChunk = /* values here */
2727
value: models.DocumentURLChunk = /* values here */
2828
```
2929

30-
### `models.ToolReferenceChunk`
30+
### `models.ThinkChunk`
3131

3232
```python
33-
value: models.ToolReferenceChunk = /* values here */
33+
value: models.ThinkChunk = /* values here */
3434
```
3535

36-
### `models.ThinkChunk`
36+
### `models.ToolReferenceChunk`
3737

3838
```python
39-
value: models.ThinkChunk = /* values here */
39+
value: models.ToolReferenceChunk = /* values here */
4040
```
4141

docs/models/outputcontentchunks.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ value: models.ToolFileChunk = /* values here */
2727
value: models.DocumentURLChunk = /* values here */
2828
```
2929

30-
### `models.ToolReferenceChunk`
30+
### `models.ThinkChunk`
3131

3232
```python
33-
value: models.ToolReferenceChunk = /* values here */
33+
value: models.ThinkChunk = /* values here */
3434
```
3535

36-
### `models.ThinkChunk`
36+
### `models.ToolReferenceChunk`
3737

3838
```python
39-
value: models.ThinkChunk = /* values here */
39+
value: models.ToolReferenceChunk = /* values here */
4040
```
4141

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mistralai"
3-
version = "1.9.6"
3+
version = "1.9.7"
44
description = "Python Client SDK for the Mistral AI API."
55
authors = [{ name = "Mistral" },]
66
readme = "README-PYPI.md"

src/mistralai/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "mistralai"
6-
__version__: str = "1.9.6"
6+
__version__: str = "1.9.7"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.634.2"
9-
__user_agent__: str = "speakeasy-sdk/python 1.9.6 2.634.2 1.0.0 mistralai"
9+
__user_agent__: str = "speakeasy-sdk/python 1.9.7 2.634.2 1.0.0 mistralai"
1010

1111
try:
1212
if __package__ is not None:

src/mistralai/models/messageinputcontentchunks.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from .documenturlchunk import DocumentURLChunk, DocumentURLChunkTypedDict
55
from .imageurlchunk import ImageURLChunk, ImageURLChunkTypedDict
66
from .textchunk import TextChunk, TextChunkTypedDict
7+
from .thinkchunk import ThinkChunk, ThinkChunkTypedDict
78
from .toolfilechunk import ToolFileChunk, ToolFileChunkTypedDict
89
from typing import Union
910
from typing_extensions import TypeAliasType
@@ -15,12 +16,13 @@
1516
TextChunkTypedDict,
1617
ImageURLChunkTypedDict,
1718
DocumentURLChunkTypedDict,
19+
ThinkChunkTypedDict,
1820
ToolFileChunkTypedDict,
1921
],
2022
)
2123

2224

2325
MessageInputContentChunks = TypeAliasType(
2426
"MessageInputContentChunks",
25-
Union[TextChunk, ImageURLChunk, DocumentURLChunk, ToolFileChunk],
27+
Union[TextChunk, ImageURLChunk, DocumentURLChunk, ThinkChunk, ToolFileChunk],
2628
)

0 commit comments

Comments
 (0)