Skip to content

Commit ed26a8a

Browse files
github-actions[bot]speakeasybotactions-user
authored
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 2.4.1 (#498)
* ## Python SDK Changes: * `mistral.beta.conversations.restart_stream()`: * `request` **Changed** (Breaking ⚠️) * `response.[].data.union(message.output.delta).content.union(OutputContentChunks).union(ThinkChunk).signature` **Added** * `mistral.workflows.executions.get_workflow_execution_trace_events()`: `response` **Changed** (Breaking ⚠️) * `mistral.workflows.executions.get_workflow_execution_trace_summary()`: `response` **Changed** (Breaking ⚠️) * `mistral.workflows.executions.get_workflow_execution_trace_otel()`: `response` **Changed** (Breaking ⚠️) * `mistral.beta.connectors.update()`: `response.tools` **Removed** (Breaking ⚠️) * `mistral.beta.connectors.get()`: `response.tools` **Removed** (Breaking ⚠️) * `mistral.beta.connectors.list()`: `response.items[].tools` **Removed** (Breaking ⚠️) * `mistral.beta.connectors.create()`: `response.tools` **Removed** (Breaking ⚠️) * `mistral.beta.agents.get_version()`: `response.metadata` **Changed** (Breaking ⚠️) * `mistral.beta.agents.list_versions()`: `response.[].metadata` **Changed** (Breaking ⚠️) * `mistral.beta.agents.update_version()`: `response.metadata` **Changed** (Breaking ⚠️) * `mistral.audio.speech.complete()`: `request.metadata` **Changed** (Breaking ⚠️) * `mistral.audio.voices.get_sample_audio()`: `response.status[200]` **Changed** (Breaking ⚠️) * `mistral.beta.conversations.start()`: * `request` **Changed** (Breaking ⚠️) * `response.outputs[].union(MessageOutputEntry).content.union(Array<MessageOutputContentChunks>)[].union(ThinkChunk).signature` **Added** * `mistral.beta.conversations.list()`: `response.[]` **Changed** (Breaking ⚠️) * `mistral.beta.conversations.get()`: `response` **Changed** (Breaking ⚠️) * `mistral.beta.agents.update()`: * `request.metadata` **Changed** (Breaking ⚠️) * `response.metadata` **Changed** (Breaking ⚠️) * `mistral.beta.agents.get()`: `response.metadata` **Changed** (Breaking ⚠️) * `mistral.beta.agents.list()`: `response.[].metadata` **Changed** (Breaking ⚠️) * `mistral.beta.conversations.restart()`: * `request` **Changed** (Breaking ⚠️) * `response.outputs[].union(MessageOutputEntry).content.union(Array<MessageOutputContentChunks>)[].union(ThinkChunk).signature` **Added** * `mistral.beta.conversations.start_stream()`: * `request` **Changed** (Breaking ⚠️) * `response.[].data.union(message.output.delta).content.union(OutputContentChunks).union(ThinkChunk).signature` **Added** * `mistral.beta.agents.create()`: * `request.metadata` **Changed** (Breaking ⚠️) * `response.metadata` **Changed** (Breaking ⚠️) * `mistral.beta.conversations.get_history()`: `response.entries[].union(MessageInputEntry).content.union(Array<MessageInputContentChunks>)[].union(ThinkChunk).signature` **Added** * `mistral.classifiers.moderate_chat()`: * `request.inputs.union(Array<>)[].union(system).content.union(Array<SystemMessageContentChunks>)[].union(thinking).signature` **Added** * `mistral.beta.conversations.get_messages()`: `response.messages[].union(MessageInputEntry).content.union(Array<MessageInputContentChunks>)[].union(ThinkChunk).signature` **Added** * `mistral.beta.connectors.get_authentication_methods()`: **Added** * `mistral.beta.conversations.append()`: * `request.inputs.union(Array<InputEntries>)[].union(MessageOutputEntry).content.union(Array<MessageOutputContentChunks>)[].union(ThinkChunk).signature` **Added** * `response.outputs[].union(MessageOutputEntry).content.union(Array<MessageOutputContentChunks>)[].union(ThinkChunk).signature` **Added** * `mistral.beta.rag.ingestion_pipeline_configurations.list()`: **Added** * `mistral.beta.connectors.delete_user_credentials()`: **Added** * `mistral.beta.connectors.delete_workspace_credentials()`: **Added** * `mistral.beta.libraries.create()`: `request.owner_type` **Added** * `mistral.beta.libraries.documents.text_content()`: `request` **Changed** * `mistral.beta.observability.chat_completion_events.fields.list()`: `response.field_definitions[].type.enum(map)` **Added** * `mistral.beta.connectors.delete_organization_credentials()`: **Added** * `mistral.beta.connectors.create_or_update_user_credentials()`: **Added** * `mistral.beta.connectors.get_auth_url()`: `request.credentials_name` **Added** * `mistral.beta.connectors.list_tools()`: `request.credentials_name` **Added** * `mistral.beta.connectors.list_user_credentials()`: **Added** * `mistral.beta.connectors.create_or_update_workspace_credentials()`: **Added** * `mistral.chat.complete()`: * `request` **Changed** * `response.choices[].message.content.union(Array<ContentChunk>)[].union(thinking).signature` **Added** * `mistral.chat.stream()`: * `request` **Changed** * `response.[].data.choices[].delta.content.union(Array<ContentChunk>)[].union(thinking).signature` **Added** * `mistral.fim.complete()`: * `request` **Changed** * `response.choices[].message.content.union(Array<ContentChunk>)[].union(thinking).signature` **Added** * `mistral.fim.stream()`: * `request` **Changed** * `response.[].data.choices[].delta.content.union(Array<ContentChunk>)[].union(thinking).signature` **Added** * `mistral.agents.complete()`: * `request` **Changed** * `response.choices[].message.content.union(Array<ContentChunk>)[].union(thinking).signature` **Added** * `mistral.agents.stream()`: * `request` **Changed** * `response.[].data.choices[].delta.content.union(Array<ContentChunk>)[].union(thinking).signature` **Added** * `mistral.beta.conversations.append_stream()`: * `request.inputs.union(Array<InputEntries>)[].union(MessageInputEntry).content.union(Array<MessageInputContentChunks>)[].union(ThinkChunk).signature` **Added** * `response.[].data.union(message.output.delta).content.union(OutputContentChunks).union(ThinkChunk).signature` **Added** * `mistral.classifiers.classify_chat()`: * `request.input.union(InstructRequest).messages[].union(tool).content.union(Array<ContentChunk>)[].union(thinking).signature` **Added** * `mistral.workflows.get_workflow_registrations()`: `response.workflow_registrations[]` **Changed** * `mistral.workflows.execute_workflow()`: * `request.extensions` **Added** * `response.union(WorkflowExecutionResponse).run_id` **Added** * `mistral.workflows.execute_workflow_registration()`: * `request.extensions` **Added** * `response.union(WorkflowExecutionResponse).run_id` **Added** * `mistral.workflows.get_workflow()`: `response.workflow.on_behalf_of` **Added** * `mistral.workflows.update_workflow()`: `response.workflow.on_behalf_of` **Added** * `mistral.workflows.get_workflow_registration()`: `response.workflow_registration` **Changed** * `mistral.workflows.archive_workflow()`: `response.workflow.on_behalf_of` **Added** * `mistral.workflows.unarchive_workflow()`: `response.workflow.on_behalf_of` **Added** * `mistral.workflows.executions.get_workflow_execution()`: `response.run_id` **Added** * `mistral.beta.connectors.list_workspace_credentials()`: **Added** * `mistral.beta.connectors.create_or_update_organization_credentials()`: **Added** * `mistral.beta.connectors.list_organization_credentials()`: **Added** * `mistral.workflows.executions.stream()`: `response.[].data.data.union(WorkflowExecutionStartedResponse).attributes.display_name` **Added** * `mistral.workflows.runs.list_runs()`: * `request.user_id` **Added** * `response.executions[].run_id` **Added** * `mistral.workflows.runs.get_run()`: `response.run_id` **Added** * `mistral.workflows.events.get_stream_events()`: `response.[].data.data.union(WorkflowExecutionStartedResponse).attributes.display_name` **Added** * `mistral.workflows.events.get_workflow_events()`: `response.events[].union(WorkflowExecutionStartedResponse).attributes.display_name` **Added** * `mistral.workflows.deployments.list_deployments()`: `response.deployments[].location` **Added** * `mistral.workflows.deployments.get_deployment()`: `response.location` **Added** * `mistral.events.get_stream_events()`: `response.[].data.data.union(WorkflowExecutionStartedResponse).attributes.display_name` **Added** * `mistral.events.get_workflow_events()`: `response.events[].union(WorkflowExecutionStartedResponse).attributes.display_name` **Added** * chore: align pyproject.toml and uv.lock to version 2.4.1 --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: GitHub Action <action@github.com>
1 parent fab91b5 commit ed26a8a

178 files changed

Lines changed: 5426 additions & 949 deletions

File tree

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: 562 additions & 270 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
@@ -32,7 +32,7 @@ generation:
3232
generateNewTests: false
3333
skipResponseBodyAssertions: false
3434
python:
35-
version: 2.4.0
35+
version: 2.4.1
3636
additionalDependencies:
3737
dev:
3838
pytest: ^8.2.2

‎.speakeasy/workflow.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ sources:
1616
- speakeasy-sdk-regen-1773084660
1717
mistral-openapi:
1818
sourceNamespace: mistral-openapi
19-
sourceRevisionDigest: sha256:5a5b1104accc69fa8fca26e9abd7e089535bbffd20f667013984cbe9e9cf819d
20-
sourceBlobDigest: sha256:3f88e405b674dc0f964605664fc15629b119a4481b08a5c8ac0e79dddcb19f91
19+
sourceRevisionDigest: sha256:81bd98c0c31f63e1c2ec66d8105defaf18aa59f48e84fa35fb205de7f3ebf48d
20+
sourceBlobDigest: sha256:5062472fdb17553079df91cedaca25d72a8bb140d27fe6f294f85abce3692feb
2121
tags:
2222
- latest
2323
targets:
@@ -38,10 +38,10 @@ targets:
3838
mistralai-sdk:
3939
source: mistral-openapi
4040
sourceNamespace: mistral-openapi
41-
sourceRevisionDigest: sha256:5a5b1104accc69fa8fca26e9abd7e089535bbffd20f667013984cbe9e9cf819d
42-
sourceBlobDigest: sha256:3f88e405b674dc0f964605664fc15629b119a4481b08a5c8ac0e79dddcb19f91
41+
sourceRevisionDigest: sha256:81bd98c0c31f63e1c2ec66d8105defaf18aa59f48e84fa35fb205de7f3ebf48d
42+
sourceBlobDigest: sha256:5062472fdb17553079df91cedaca25d72a8bb140d27fe6f294f85abce3692feb
4343
codeSamplesNamespace: mistral-openapi-code-samples
44-
codeSamplesRevisionDigest: sha256:4f85e638c528b022fb052ca92bb487df74eaa9fff37bc54a8bbe79474891e3d2
44+
codeSamplesRevisionDigest: sha256:815d79d20604e2b311b3553ba4f2f02400875cc37d29ed36a4b911e823f4fd8b
4545
workflow:
4646
workflowVersion: 1.0.0
4747
speakeasyVersion: 1.761.1

‎README-PYPI.md‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,16 @@ print(res.choices[0].message.content)
515515
* [get_auth_url](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#get_auth_url) - Get the auth URL for a connector.
516516
* [call_tool](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#call_tool) - Call Connector Tool
517517
* [list_tools](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#list_tools) - List tools for a connector.
518+
* [get_authentication_methods](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#get_authentication_methods) - Get authentication methods for a connector.
519+
* [list_organization_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#list_organization_credentials) - List organization credentials for a connector.
520+
* [create_or_update_organization_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#create_or_update_organization_credentials) - Create or update organization credentials for a connector.
521+
* [list_workspace_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#list_workspace_credentials) - List workspace credentials for a connector.
522+
* [create_or_update_workspace_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#create_or_update_workspace_credentials) - Create or update workspace credentials for a connector.
523+
* [list_user_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#list_user_credentials) - List user credentials for a connector.
524+
* [create_or_update_user_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#create_or_update_user_credentials) - Create or update user credentials for a connector.
525+
* [delete_organization_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete_organization_credentials) - Delete organization credentials for a connector.
526+
* [delete_workspace_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete_workspace_credentials) - Delete workspace credentials for a connector.
527+
* [delete_user_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete_user_credentials) - Delete user credentials for a connector.
518528
* [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#get) - Get a connector.
519529
* [update](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#update) - Update a connector.
520530
* [delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete) - Delete a connector.
@@ -619,6 +629,10 @@ print(res.choices[0].message.content)
619629
* [update](https://github.com/mistralai/client-python/blob/main/docs/sdks/judges/README.md#update) - Update a judge
620630
* [judge_conversation](https://github.com/mistralai/client-python/blob/main/docs/sdks/judges/README.md#judge_conversation) - Run a saved judge on a conversation
621631

632+
### [Beta.Rag.IngestionPipelineConfigurations](https://github.com/mistralai/client-python/blob/main/docs/sdks/ingestionpipelineconfigurations/README.md)
633+
634+
* [list](https://github.com/mistralai/client-python/blob/main/docs/sdks/ingestionpipelineconfigurations/README.md#list) - List ingestion pipeline configurations
635+
622636
### [Chat](https://github.com/mistralai/client-python/blob/main/docs/sdks/chat/README.md)
623637

624638
* [complete](https://github.com/mistralai/client-python/blob/main/docs/sdks/chat/README.md#complete) - Chat Completion
@@ -940,8 +954,8 @@ with Mistral(
940954

941955

942956
**Inherit from [`MistralError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/mistralerror.py)**:
943-
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 103 of 168 methods.*
944-
* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 168 methods.*
957+
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 112 of 179 methods.*
958+
* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 179 methods.*
945959
* [`ResponseValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
946960

947961
</details>

‎README.md‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,16 @@ print(res.choices[0].message.content)
515515
* [get_auth_url](docs/sdks/connectors/README.md#get_auth_url) - Get the auth URL for a connector.
516516
* [call_tool](docs/sdks/connectors/README.md#call_tool) - Call Connector Tool
517517
* [list_tools](docs/sdks/connectors/README.md#list_tools) - List tools for a connector.
518+
* [get_authentication_methods](docs/sdks/connectors/README.md#get_authentication_methods) - Get authentication methods for a connector.
519+
* [list_organization_credentials](docs/sdks/connectors/README.md#list_organization_credentials) - List organization credentials for a connector.
520+
* [create_or_update_organization_credentials](docs/sdks/connectors/README.md#create_or_update_organization_credentials) - Create or update organization credentials for a connector.
521+
* [list_workspace_credentials](docs/sdks/connectors/README.md#list_workspace_credentials) - List workspace credentials for a connector.
522+
* [create_or_update_workspace_credentials](docs/sdks/connectors/README.md#create_or_update_workspace_credentials) - Create or update workspace credentials for a connector.
523+
* [list_user_credentials](docs/sdks/connectors/README.md#list_user_credentials) - List user credentials for a connector.
524+
* [create_or_update_user_credentials](docs/sdks/connectors/README.md#create_or_update_user_credentials) - Create or update user credentials for a connector.
525+
* [delete_organization_credentials](docs/sdks/connectors/README.md#delete_organization_credentials) - Delete organization credentials for a connector.
526+
* [delete_workspace_credentials](docs/sdks/connectors/README.md#delete_workspace_credentials) - Delete workspace credentials for a connector.
527+
* [delete_user_credentials](docs/sdks/connectors/README.md#delete_user_credentials) - Delete user credentials for a connector.
518528
* [get](docs/sdks/connectors/README.md#get) - Get a connector.
519529
* [update](docs/sdks/connectors/README.md#update) - Update a connector.
520530
* [delete](docs/sdks/connectors/README.md#delete) - Delete a connector.
@@ -619,6 +629,10 @@ print(res.choices[0].message.content)
619629
* [update](docs/sdks/judges/README.md#update) - Update a judge
620630
* [judge_conversation](docs/sdks/judges/README.md#judge_conversation) - Run a saved judge on a conversation
621631

632+
### [Beta.Rag.IngestionPipelineConfigurations](docs/sdks/ingestionpipelineconfigurations/README.md)
633+
634+
* [list](docs/sdks/ingestionpipelineconfigurations/README.md#list) - List ingestion pipeline configurations
635+
622636
### [Chat](docs/sdks/chat/README.md)
623637

624638
* [complete](docs/sdks/chat/README.md#complete) - Chat Completion
@@ -940,8 +954,8 @@ with Mistral(
940954

941955

942956
**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
943-
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 103 of 168 methods.*
944-
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 168 methods.*
957+
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 112 of 179 methods.*
958+
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 179 methods.*
945959
* [`ResponseValidationError`](./src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
946960

947961
</details>

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,4 +588,14 @@ Based on:
588588
### Generated
589589
- [python v2.4.0] .
590590
### Releases
591-
- [PyPI v2.4.0] https://pypi.org/project/mistralai/2.4.0 - .
591+
- [PyPI v2.4.0] https://pypi.org/project/mistralai/2.4.0 - .
592+
593+
## 2026-04-21 13:15:47
594+
### Changes
595+
Based on:
596+
- OpenAPI Doc
597+
- Speakeasy CLI 1.761.1 (2.879.6) https://github.com/speakeasy-api/speakeasy
598+
### Generated
599+
- [python v2.4.1] .
600+
### Releases
601+
- [PyPI v2.4.1] https://pypi.org/project/mistralai/2.4.1 - .

‎docs/models/agent.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
| `name` | *str* | :heavy_check_mark: | N/A |
1414
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
1515
| `handoffs` | List[*str*] | :heavy_minus_sign: | N/A |
16-
| `metadata` | [OptionalNullable[models.MetadataDict]](../models/metadatadict.md) | :heavy_minus_sign: | N/A |
16+
| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
1717
| `object` | *Optional[Literal["agent"]]* | :heavy_minus_sign: | N/A |
1818
| `id` | *str* | :heavy_check_mark: | N/A |
1919
| `version` | *int* | :heavy_check_mark: | N/A |

‎docs/models/agentconversation.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
88
| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | Name given to the conversation. |
99
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | Description of the what the conversation is about. |
10-
| `metadata` | [OptionalNullable[models.MetadataDict]](../models/metadatadict.md) | :heavy_minus_sign: | Custom metadata for the conversation. |
10+
| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | Custom metadata for the conversation. |
1111
| `object` | *Optional[Literal["conversation"]]* | :heavy_minus_sign: | N/A |
1212
| `id` | *str* | :heavy_check_mark: | N/A |
1313
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |

0 commit comments

Comments
 (0)