Skip to content

chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.8.3 #240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
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
12 changes: 6 additions & 6 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: 9c8bd4d6bf675b159a80173b97c1265c
docChecksum: e0186c33d0269977e1790dfcc7d11aac
docVersion: 1.0.0
speakeasyVersion: 1.517.3
generationVersion: 2.548.6
releaseVersion: 1.8.2
configChecksum: 5024c28578f991eabb85310ad8df96b7
releaseVersion: 1.8.3
configChecksum: 81d0549cb4d8bf7fd453dea94ea12376
repoURL: https://github.com/mistralai/client-python.git
installationURL: https://github.com/mistralai/client-python.git
published: true
Expand Down Expand Up @@ -193,6 +193,7 @@ generatedFiles:
- docs/models/entries.md
- docs/models/eventout.md
- docs/models/file.md
- docs/models/filechunk.md
- docs/models/filepurpose.md
- docs/models/filesapiroutesdeletefilerequest.md
- docs/models/filesapiroutesdownloadfilerequest.md
Expand All @@ -212,7 +213,6 @@ generatedFiles:
- docs/models/ftclassifierlossfunction.md
- docs/models/ftmodelcapabilitiesout.md
- docs/models/ftmodelcard.md
- docs/models/ftmodelcardtype.md
- docs/models/function.md
- docs/models/functioncall.md
- docs/models/functioncallentry.md
Expand Down Expand Up @@ -280,7 +280,6 @@ generatedFiles:
- docs/models/messageinputentry.md
- docs/models/messageinputentrycontent.md
- docs/models/messageinputentryrole.md
- docs/models/messageinputentrytype.md
- docs/models/messageoutputcontentchunks.md
- docs/models/messageoutputentry.md
- docs/models/messageoutputentrycontent.md
Expand Down Expand Up @@ -506,6 +505,7 @@ generatedFiles:
- src/mistralai/models/embeddingresponse.py
- src/mistralai/models/embeddingresponsedata.py
- src/mistralai/models/eventout.py
- src/mistralai/models/filechunk.py
- src/mistralai/models/filepurpose.py
- src/mistralai/models/files_api_routes_delete_fileop.py
- src/mistralai/models/files_api_routes_download_fileop.py
Expand Down Expand Up @@ -651,7 +651,7 @@ examples:
model_id: "ft:open-mistral-7b:587a6b29:20240514:7e773925"
responses:
"200":
application/json: {"id": "<id>", "object": "model", "owned_by": "mistralai", "capabilities": {"completion_chat": true, "completion_fim": false, "function_calling": true, "fine_tuning": false, "vision": false}, "max_context_length": 32768}
application/json: {"id": "<id>", "object": "model", "owned_by": "mistralai", "capabilities": {"completion_chat": true, "completion_fim": false, "function_calling": true, "fine_tuning": false, "vision": false, "classification": false}, "max_context_length": 32768}
"422": {}
delete_model_v1_models__model_id__delete:
"":
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
python:
version: 1.8.2
version: 1.8.3
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:21244d618cafcc163c3aa4acbc443ca16c63b8614632b65b87fbb2c4066987f3
sourceBlobDigest: sha256:74aeb6a2e0d466c206f983ce79581cc72d205cc7866826282c181207ebe841a2
sourceRevisionDigest: sha256:e9fd379cd22f75a10ccc5b866f4de98f973c3c0f77cb15a7bebcb94bf10c82f2
sourceBlobDigest: sha256:4bb656d10d1cfbe09f9b1b7734c79f1855eb27184590362d3747116f6abf69d1
tags:
- latest
- speakeasy-sdk-regen-1749573609
- speakeasy-sdk-regen-1750953288
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:21244d618cafcc163c3aa4acbc443ca16c63b8614632b65b87fbb2c4066987f3
sourceBlobDigest: sha256:74aeb6a2e0d466c206f983ce79581cc72d205cc7866826282c181207ebe841a2
sourceRevisionDigest: sha256:e9fd379cd22f75a10ccc5b866f4de98f973c3c0f77cb15a7bebcb94bf10c82f2
sourceBlobDigest: sha256:4bb656d10d1cfbe09f9b1b7734c79f1855eb27184590362d3747116f6abf69d1
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:dc4396ba994048a9f31c008dced1a46a9e54d89973e9608039a7bc37b1052957
codeSamplesRevisionDigest: sha256:23aa878d903a7ef63dfbe3196f3b4d23836239ebd9481f4e1e094f53e21af410
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.517.3
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,14 @@ Based on:
### Generated
- [python v1.8.2] .
### Releases
- [PyPI v1.8.2] https://pypi.org/project/mistralai/1.8.2 - .
- [PyPI v1.8.2] https://pypi.org/project/mistralai/1.8.2 - .

## 2025-06-26 15:54:30
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.8.3] .
### Releases
- [PyPI v1.8.3] https://pypi.org/project/mistralai/1.8.3 - .
6 changes: 3 additions & 3 deletions docs/models/agentsapiv1conversationsgetrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `conversation_id` | *str* | :heavy_check_mark: | N/A |
| Field | Type | Required | Description |
| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |
| `conversation_id` | *str* | :heavy_check_mark: | ID of the conversation from which we are fetching metadata. |
6 changes: 3 additions & 3 deletions docs/models/agentsapiv1conversationshistoryrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `conversation_id` | *str* | :heavy_check_mark: | N/A |
| Field | Type | Required | Description |
| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
| `conversation_id` | *str* | :heavy_check_mark: | ID of the conversation from which we are fetching entries. |
6 changes: 3 additions & 3 deletions docs/models/agentsapiv1conversationsmessagesrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `conversation_id` | *str* | :heavy_check_mark: | N/A |
| Field | Type | Required | Description |
| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |
| `conversation_id` | *str* | :heavy_check_mark: | ID of the conversation from which we are fetching messages. |
2 changes: 1 addition & 1 deletion docs/models/agentsapiv1conversationsrestartrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| `conversation_id` | *str* | :heavy_check_mark: | N/A |
| `conversation_id` | *str* | :heavy_check_mark: | ID of the original conversation which is being restarted. |
| `conversation_restart_request` | [models.ConversationRestartRequest](../models/conversationrestartrequest.md) | :heavy_check_mark: | N/A |
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| `conversation_id` | *str* | :heavy_check_mark: | N/A |
| `conversation_id` | *str* | :heavy_check_mark: | ID of the original conversation which is being restarted. |
| `conversation_restart_stream_request` | [models.ConversationRestartStreamRequest](../models/conversationrestartstreamrequest.md) | :heavy_check_mark: | N/A |
2 changes: 1 addition & 1 deletion docs/models/agentscompletionrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
| `n` | *OptionalNullable[int]* | :heavy_minus_sign: | Number of completions to return for each request, input tokens are only billed once. | |
| `prediction` | [Optional[models.Prediction]](../models/prediction.md) | :heavy_minus_sign: | N/A | |
| `parallel_tool_calls` | *Optional[bool]* | :heavy_minus_sign: | N/A | |
| `prompt_mode` | [OptionalNullable[models.MistralPromptMode]](../models/mistralpromptmode.md) | :heavy_minus_sign: | N/A | |
| `prompt_mode` | [OptionalNullable[models.MistralPromptMode]](../models/mistralpromptmode.md) | :heavy_minus_sign: | Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. | |
Loading