Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 2d045ec7-2ebb-4f4d-ad25-40953b132161
management:
docChecksum: 52e6a68dbdc371fd28af0f2ae79505fa
docChecksum: a38b769b82bac0658cf02fed22bdbde0
docVersion: 1.0.0
speakeasyVersion: 1.568.2
generationVersion: 2.634.2
releaseVersion: 1.9.6
configChecksum: 2b88c684b4750a8f781b81adb8480b58
releaseVersion: 1.9.7
configChecksum: 12add5d16b9129632055a59af01aa628
repoURL: https://github.com/mistralai/client-python.git
installationURL: https://github.com/mistralai/client-python.git
published: true
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 1.9.6
version: 1.9.7
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ sources:
- latest
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:55f3f81b4bc4061fe86e7c25987282480065414f142fdedfe5cb103de7161a2d
sourceBlobDigest: sha256:f14bdfab5afcc84705d574e6fc22806c4a518292b255fec0643f1e1aa18ae58f
sourceRevisionDigest: sha256:fcdf40207fa983a6ad7c0346f499d2b87ef2f1381a48e791a9a485bd40525ff8
sourceBlobDigest: sha256:64fa97f0836a2441e32bc255ced698234c147c790775988102f17b493f0da87d
tags:
- latest
- speakeasy-sdk-regen-1755069688
- speakeasy-sdk-regen-1755678497
targets:
mistralai-azure-sdk:
source: mistral-azure-source
Expand All @@ -37,10 +37,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:55f3f81b4bc4061fe86e7c25987282480065414f142fdedfe5cb103de7161a2d
sourceBlobDigest: sha256:f14bdfab5afcc84705d574e6fc22806c4a518292b255fec0643f1e1aa18ae58f
sourceRevisionDigest: sha256:fcdf40207fa983a6ad7c0346f499d2b87ef2f1381a48e791a9a485bd40525ff8
sourceBlobDigest: sha256:64fa97f0836a2441e32bc255ced698234c147c790775988102f17b493f0da87d
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:42d98cf03323c832ebd0a3fe0d3927374d1c212998cc37a5d3372c1c6e8a31c8
codeSamplesRevisionDigest: sha256:d53b8d8fa0068fc51569bdde2e319d0d2abdb019c80180d926a1a1a1f7fb56b3
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.568.2
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,14 @@ Based on:
### Generated
- [python v1.9.6] .
### Releases
- [PyPI v1.9.6] https://pypi.org/project/mistralai/1.9.6 - .
- [PyPI v1.9.6] https://pypi.org/project/mistralai/1.9.6 - .

## 2025-08-20 08:28:00
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.568.2 (2.634.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.9.7] .
### Releases
- [PyPI v1.9.7] https://pypi.org/project/mistralai/1.9.7 - .
6 changes: 6 additions & 0 deletions docs/models/messageinputcontentchunks.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@ value: models.ToolFileChunk = /* values here */
value: models.DocumentURLChunk = /* values here */
```

### `models.ThinkChunk`

```python
value: models.ThinkChunk = /* values here */
```

8 changes: 4 additions & 4 deletions docs/models/messageoutputcontentchunks.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ value: models.ToolFileChunk = /* values here */
value: models.DocumentURLChunk = /* values here */
```

### `models.ToolReferenceChunk`
### `models.ThinkChunk`

```python
value: models.ToolReferenceChunk = /* values here */
value: models.ThinkChunk = /* values here */
```

### `models.ThinkChunk`
### `models.ToolReferenceChunk`

```python
value: models.ThinkChunk = /* values here */
value: models.ToolReferenceChunk = /* values here */
```

8 changes: 4 additions & 4 deletions docs/models/outputcontentchunks.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ value: models.ToolFileChunk = /* values here */
value: models.DocumentURLChunk = /* values here */
```

### `models.ToolReferenceChunk`
### `models.ThinkChunk`

```python
value: models.ToolReferenceChunk = /* values here */
value: models.ThinkChunk = /* values here */
```

### `models.ThinkChunk`
### `models.ToolReferenceChunk`

```python
value: models.ThinkChunk = /* values here */
value: models.ToolReferenceChunk = /* values here */
```

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "mistralai"
version = "1.9.6"
version = "1.9.7"
description = "Python Client SDK for the Mistral AI API."
authors = [{ name = "Mistral" },]
readme = "README-PYPI.md"
Expand Down
4 changes: 2 additions & 2 deletions src/mistralai/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "mistralai"
__version__: str = "1.9.6"
__version__: str = "1.9.7"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.634.2"
__user_agent__: str = "speakeasy-sdk/python 1.9.6 2.634.2 1.0.0 mistralai"
__user_agent__: str = "speakeasy-sdk/python 1.9.7 2.634.2 1.0.0 mistralai"

try:
if __package__ is not None:
Expand Down
4 changes: 3 additions & 1 deletion src/mistralai/models/messageinputcontentchunks.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from .documenturlchunk import DocumentURLChunk, DocumentURLChunkTypedDict
from .imageurlchunk import ImageURLChunk, ImageURLChunkTypedDict
from .textchunk import TextChunk, TextChunkTypedDict
from .thinkchunk import ThinkChunk, ThinkChunkTypedDict
from .toolfilechunk import ToolFileChunk, ToolFileChunkTypedDict
from typing import Union
from typing_extensions import TypeAliasType
Expand All @@ -15,12 +16,13 @@
TextChunkTypedDict,
ImageURLChunkTypedDict,
DocumentURLChunkTypedDict,
ThinkChunkTypedDict,
ToolFileChunkTypedDict,
],
)


MessageInputContentChunks = TypeAliasType(
"MessageInputContentChunks",
Union[TextChunk, ImageURLChunk, DocumentURLChunk, ToolFileChunk],
Union[TextChunk, ImageURLChunk, DocumentURLChunk, ThinkChunk, ToolFileChunk],
)