Skip to content
Closed
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
72 changes: 30 additions & 42 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 2d045ec7-2ebb-4f4d-ad25-40953b132161
management:
docChecksum: 68426731e22b47ac547feb3144b7defb
docChecksum: 97b4909a97eae2c0d6eaef46534c47fe
docVersion: 1.0.0
speakeasyVersion: 1.754.0
generationVersion: 2.862.0
releaseVersion: 2.1.1
configChecksum: 1dfcdfd9a3f484dd098a0bffb4d13d4d
releaseVersion: 2.1.2
configChecksum: eae98dd1cf81d8778436fcccb0cf416a
repoURL: https://github.com/mistralai/client-python.git
installationURL: https://github.com/mistralai/client-python.git
published: true
persistentEdits:
generation_id: 3bd5e5b5-16bb-4a97-9eeb-dfa952779f1a
pristine_commit_hash: 7166e430b976c667a0ec83f5c5791809dd2fc3a4
pristine_tree_hash: 770f1e01cc9f7d6efbd9fe9350f0d688d21d2b4b
generation_id: 987926a2-b35b-41a4-9457-7d23e8864309
pristine_commit_hash: ae957d3fa2a92c2d13b3bbeadfa245d6c98c7d3d
pristine_tree_hash: 11d13bcf1460e6925ea9207ffd93aa9b220a0210
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -363,26 +363,14 @@ trackedFiles:
id: 57b86771c870
last_write_checksum: sha1:bfd2fb8e2c83578ca0cea5209ea3f18c3bcd2ae5
pristine_git_object: ba9c95eab2c1e4f080e39e8804a5de222e052ee6
docs/models/chatcompletionchoice1.md:
id: 00f3eec89329
last_write_checksum: sha1:60653ac0761272bbae3a7732d7c7c36a107a67b0
pristine_git_object: 269023f7a39ecd90dce9b5cb9c625bed679d4c88
docs/models/chatcompletionchoice2.md:
id: e8badb5ca1ac
last_write_checksum: sha1:3e6b5c62c82b937bc0baad25fc21f6a1dcc55e54
pristine_git_object: 274565e8b877d39ee383c1c971928f45c734b5f0
docs/models/chatcompletionchoicefinishreason1.md:
id: a2cbd7d56a20
last_write_checksum: sha1:99fee4a97c754027da16d9a780f9cc6512a25974
pristine_git_object: f340dc9d81a16536d0ad09bf6578ae7e303d2d2e
docs/models/chatcompletionchoicefinishreason2.md:
id: 7f55ad364454
last_write_checksum: sha1:615d829e68a6557d1e739060cb4ddd64d5b41335
pristine_git_object: 51abd6c1c2e55222a8112109e4d798010c3294fd
docs/models/chatcompletionchoiceunion.md:
id: 0f8f08d07fbf
last_write_checksum: sha1:320f4323f22e7d1ad0eb5ae3ed9e312409c69f8c
pristine_git_object: c577759974759149a2a007793ec22bd7907ecfe4
docs/models/chatcompletionchoice.md:
id: 0d15c59ab501
last_write_checksum: sha1:a6274a39a4239e054816d08517bf8507cb5c4564
pristine_git_object: deaa0ea073e1b6c21bd466c10db31db2464066f1
docs/models/chatcompletionchoicefinishreason.md:
id: 225764da91d3
last_write_checksum: sha1:160ff1297bfbaa9158e575b8bd7ab573533c8f9f
pristine_git_object: c289272622b137541843bb4ba9654d0e1405ffec
docs/models/chatcompletionevent.md:
id: fc1097c5bfe2
last_write_checksum: sha1:ef1f417581e943503acb38b503aedde3e157d934
Expand Down Expand Up @@ -425,8 +413,8 @@ trackedFiles:
pristine_git_object: 48d8596d7caaf09e4773b80f451fb2bc16eab1d7
docs/models/chatcompletionresponse.md:
id: 7c53b24681b9
last_write_checksum: sha1:0d7d8c74d7fe3919f9e41e5c7b37d23d74e73744
pristine_git_object: 2cde9a3f657ab6f458f9fcddbd26b792a1b0871c
last_write_checksum: sha1:a56581c0846638cfe6df26d3045fb4f874ccd931
pristine_git_object: a0465ffbfc5558628953e03fbc53b80bbdc8649b
docs/models/chatcompletionstreamrequest.md:
id: cf8f29558a68
last_write_checksum: sha1:eae5eb85146e95ce4d3f76a362abfe29e4b40c5b
Expand Down Expand Up @@ -1097,8 +1085,8 @@ trackedFiles:
pristine_git_object: a0dbb00a82a03acc8b62b81d7597722a6ca46118
docs/models/fimcompletionresponse.md:
id: 050d62ba2fac
last_write_checksum: sha1:7cadd128b7684c078a0337b42f599dca2c585225
pristine_git_object: 0d92cc8520882c56c587d1c851206a3172373fef
last_write_checksum: sha1:a6101a69e83b7a5bcf96ec77ba1cab8748f734f4
pristine_git_object: cd62d0349503fd8b13582d0ba47ab9cff40f6b28
docs/models/fimcompletionstreamrequest.md:
id: c881d7e27637
last_write_checksum: sha1:f8755bc554dd44568c42eb5b6dde04db464647ab
Expand Down Expand Up @@ -2481,8 +2469,8 @@ trackedFiles:
pristine_git_object: 036d44b8cfc51599873bd5c401a6aed30450536c
src/mistralai/client/_version.py:
id: cc807b30de19
last_write_checksum: sha1:a814bf6ebf521181526a7a5a669ed2b5c87ed818
pristine_git_object: 2ce42718554bf69f5c5780428ff8bf74e926063b
last_write_checksum: sha1:d7a3abfbd260f39e87a405377e56d9dd8a48439f
pristine_git_object: a5ba9a2a6bcff1a4b62db94c38d18b40c88813cc
src/mistralai/client/accesses.py:
id: 76fc53bfcf59
last_write_checksum: sha1:4b1cf5d760f690d35582f9037df44c97c11e7e14
Expand Down Expand Up @@ -2613,8 +2601,8 @@ trackedFiles:
pristine_git_object: b8728362b87349118ac6f163f50613dd18c43340
src/mistralai/client/models/__init__.py:
id: e0e8dad92725
last_write_checksum: sha1:890d241c6f6b09a31715fd87696b183f1c2fc45f
pristine_git_object: 8363bb841d291bea962e9f75924de88b2e1def7e
last_write_checksum: sha1:fba31c478e24e28b21f8d42eb4071685b1937892
pristine_git_object: 905fae94be27b73eb6af7bbdade00680ec970d22
src/mistralai/client/models/agent.py:
id: 1336849c84fb
last_write_checksum: sha1:2574866d9855cb0b6314ac94ca288d59f3196c73
Expand Down Expand Up @@ -2819,10 +2807,10 @@ trackedFiles:
id: afd9cdc71834
last_write_checksum: sha1:a29088359142ebd6409f45569168b2096014119e
pristine_git_object: cf2aa78af3ffc747d557422b83551075b83e601d
src/mistralai/client/models/chatcompletionchoice_union.py:
id: 970941f980d1
last_write_checksum: sha1:2d4851170d49a274d0ddee61cdbb10dc36bc5d2a
pristine_git_object: 0bd55d47d4b11728cd85228b401c3063875ee459
src/mistralai/client/models/chatcompletionchoice.py:
id: 7e6a512f6a04
last_write_checksum: sha1:de0281a258140f081012b303e3c14e0b42acdf63
pristine_git_object: 2c515f6e9a290ebab43bae41e07493e4b99afe8f
src/mistralai/client/models/chatcompletionevent.py:
id: d85484d0205e
last_write_checksum: sha1:b709e6f710b62fee646eb7d12b24d69125522088
Expand All @@ -2837,8 +2825,8 @@ trackedFiles:
pristine_git_object: 558efb7618b259dae8262cb671c7dc39cbd4729e
src/mistralai/client/models/chatcompletionresponse.py:
id: 669d996b8e82
last_write_checksum: sha1:6adb894d14b6932f79d47b40d4801403f5aaedf6
pristine_git_object: cdb7c37f2675eb70de7a3f3b9b5e3fc4b05abc94
last_write_checksum: sha1:97f164fea881127ac82303e637b6a270e200ac5b
pristine_git_object: 7092bbc18425091d111ec998b33edc009ff0931b
src/mistralai/client/models/chatcompletionstreamrequest.py:
id: 18cb2b2415d4
last_write_checksum: sha1:be41df80620c88cd1f3f93b9e9aa31d1aa238075
Expand Down Expand Up @@ -3305,8 +3293,8 @@ trackedFiles:
pristine_git_object: 2ca34598854f3777430de33d2acf2fc45f27fbcc
src/mistralai/client/models/fimcompletionresponse.py:
id: b860d2ba771e
last_write_checksum: sha1:4fe39c00b10e4d83f6b987393763b27d4610d799
pristine_git_object: 441a913001ecec779c4c1ea569d7586450698e58
last_write_checksum: sha1:dffd5a7005999340f57eaa94e17b2c82ddc7fd90
pristine_git_object: 1345a116b7855ab4b824cf0369c0a5281e44ea97
src/mistralai/client/models/fimcompletionstreamrequest.py:
id: 1d1ee09f1913
last_write_checksum: sha1:338c8d224fa5739296fe0e1ea1c00e65fba30b99
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 2.1.1
version: 2.1.2
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ sources:
- speakeasy-sdk-regen-1773084660
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:07001643ff9c8cc14ad90b1339637698af0fcf923c6336398016ff927f825f2b
sourceBlobDigest: sha256:6566cab4050d1f6841c4717a5d0c91819dea84840d7c04b1194ca939aee3d8e7
sourceRevisionDigest: sha256:4dfede971964b6bed279893ea59d78fb670e78c0f2492354ea25ffcdc4e56768
sourceBlobDigest: sha256:54e2c0536c78ca593dc5f194cdd4994bf6a1d4f9e4b08e2f3c54c799b94ae414
tags:
- latest
targets:
Expand All @@ -38,10 +38,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:07001643ff9c8cc14ad90b1339637698af0fcf923c6336398016ff927f825f2b
sourceBlobDigest: sha256:6566cab4050d1f6841c4717a5d0c91819dea84840d7c04b1194ca939aee3d8e7
sourceRevisionDigest: sha256:4dfede971964b6bed279893ea59d78fb670e78c0f2492354ea25ffcdc4e56768
sourceBlobDigest: sha256:54e2c0536c78ca593dc5f194cdd4994bf6a1d4f9e4b08e2f3c54c799b94ae414
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:972495e91c76c3f044f7d71d8ccb55294421ddb6247c3e0b3dbd3c27490a7184
codeSamplesRevisionDigest: sha256:73ee5f1c98a01d8413b3cfcd8aed9e41a2b23042ec6bd663d8d992437d4ab617
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.754.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,4 +468,14 @@ Based on:
### Generated
- [python v2.1.1] .
### Releases
- [PyPI v2.1.1] https://pypi.org/project/mistralai/2.1.1 - .
- [PyPI v2.1.1] https://pypi.org/project/mistralai/2.1.1 - .

## 2026-03-20 13:48:41
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.754.0 (2.862.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.1.2] .
### Releases
- [PyPI v2.1.2] https://pypi.org/project/mistralai/2.1.2 - .
10 changes: 10 additions & 0 deletions docs/models/chatcompletionchoice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# ChatCompletionChoice


## Fields

| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| `index` | *int* | :heavy_check_mark: | N/A | 0 |
| `message` | [models.AssistantMessage](../models/assistantmessage.md) | :heavy_check_mark: | N/A | |
| `finish_reason` | [models.ChatCompletionChoiceFinishReason](../models/chatcompletionchoicefinishreason.md) | :heavy_check_mark: | N/A | stop |
11 changes: 0 additions & 11 deletions docs/models/chatcompletionchoice1.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/models/chatcompletionchoice2.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# ChatCompletionChoiceFinishReason1
# ChatCompletionChoiceFinishReason

## Example Usage

```python
from mistralai.client.models import ChatCompletionChoiceFinishReason1
from mistralai.client.models import ChatCompletionChoiceFinishReason

# Open enum: unrecognized values are captured as UnrecognizedStr
value: ChatCompletionChoiceFinishReason1 = "stop"
value: ChatCompletionChoiceFinishReason = "stop"
```


Expand Down
21 changes: 0 additions & 21 deletions docs/models/chatcompletionchoicefinishreason2.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/models/chatcompletionchoiceunion.md

This file was deleted.

Loading
Loading