Skip to content

Commit 091c57f

Browse files
chore: šŸ Update SDK - Generate MISTRALAI MISTRALAI-SDK [speakeasy/mistralai-sdk-26292816554-1] 2.4.7 (#550)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.763.6 * chore: align pyproject.toml and uv.lock to version 2.4.7 * fix: use is_error_status_code callable in workflow helper The regenerated SDK changed BaseSDK.do_request_async signature from error_status_codes (List[str]) to is_error_status_code (Callable[[int], bool]). Update the workflow helper to use the new callable form. --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 59f1bf7 commit 091c57f

243 files changed

Lines changed: 10850 additions & 1150 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: 923 additions & 261 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.5
35+
version: 2.4.7
3636
additionalDependencies:
3737
dev:
3838
pytest: ^8.2.2

ā€Ž.speakeasy/workflow.lockā€Ž

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ sources:
1616
- speakeasy-mistralai-gcp-sdk-26292830187-1
1717
mistral-openapi:
1818
sourceNamespace: mistral-openapi
19-
sourceRevisionDigest: sha256:6b325264f8e8a60caa875776438b07d4eb5b56283da0796b283e9c5597810e22
20-
sourceBlobDigest: sha256:11d21b003c903f5539d5d7a79cf8fe17d1d284b48e47da0009eac3866ad58899
19+
sourceRevisionDigest: sha256:0e18f147a374ca3cc89ea5d05181e8e333f2724201da419e1cccf59192285a9e
20+
sourceBlobDigest: sha256:e2a240443dcc2f25c798e66ba4ba17caec1e7fd80ccca52112e058d08e293e4d
2121
tags:
2222
- latest
23+
- speakeasy-mistralai-sdk-26292816554-1
2324
targets:
2425
mistralai-azure-sdk:
2526
source: mistral-azure-source
@@ -38,10 +39,10 @@ targets:
3839
mistralai-sdk:
3940
source: mistral-openapi
4041
sourceNamespace: mistral-openapi
41-
sourceRevisionDigest: sha256:6b325264f8e8a60caa875776438b07d4eb5b56283da0796b283e9c5597810e22
42-
sourceBlobDigest: sha256:11d21b003c903f5539d5d7a79cf8fe17d1d284b48e47da0009eac3866ad58899
42+
sourceRevisionDigest: sha256:0e18f147a374ca3cc89ea5d05181e8e333f2724201da419e1cccf59192285a9e
43+
sourceBlobDigest: sha256:e2a240443dcc2f25c798e66ba4ba17caec1e7fd80ccca52112e058d08e293e4d
4344
codeSamplesNamespace: mistral-openapi-code-samples
44-
codeSamplesRevisionDigest: sha256:95c443855a95966259bd108beec0cbdb8238f6f753dc4b021bf833d398e86c0c
45+
codeSamplesRevisionDigest: sha256:33fc2a349a4e8dfc5211c638cc2c36585d844ba4bd7ebfb2fa17cbe5477a9d34
4546
workflow:
4647
workflowVersion: 1.0.0
4748
speakeasyVersion: 1.763.6

ā€ŽREADME.mdā€Ž

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,12 @@ print(res.choices[0].message.content)
513513
* [create](docs/sdks/connectors/README.md#create) - Create a new connector.
514514
* [list](docs/sdks/connectors/README.md#list) - List all connectors.
515515
* [get_auth_url](docs/sdks/connectors/README.md#get_auth_url) - Get the auth URL for a connector.
516+
* [activate_for_organization](docs/sdks/connectors/README.md#activate_for_organization) - Activate a connector for an organization.
517+
* [deactivate_for_organization](docs/sdks/connectors/README.md#deactivate_for_organization) - Deactivate a connector for an organization.
518+
* [activate_for_workspace](docs/sdks/connectors/README.md#activate_for_workspace) - Activate a connector for a workspace.
519+
* [deactivate_for_workspace](docs/sdks/connectors/README.md#deactivate_for_workspace) - Deactivate a connector for a workspace.
520+
* [activate_for_user](docs/sdks/connectors/README.md#activate_for_user) - Activate a connector for the current user.
521+
* [deactivate_for_user](docs/sdks/connectors/README.md#deactivate_for_user) - Deactivate a connector for the current user.
516522
* [call_tool](docs/sdks/connectors/README.md#call_tool) - Call Connector Tool
517523
* [list_tools](docs/sdks/connectors/README.md#list_tools) - List tools for a connector.
518524
* [get_authentication_methods](docs/sdks/connectors/README.md#get_authentication_methods) - Get authentication methods for a connector.
@@ -550,6 +556,7 @@ print(res.choices[0].message.content)
550556
* [get](docs/sdks/libraries/README.md#get) - Detailed information about a specific Library.
551557
* [delete](docs/sdks/libraries/README.md#delete) - Delete a library and all of it's document.
552558
* [update](docs/sdks/libraries/README.md#update) - Update a library.
559+
* [~~libraries_update_v1~~](docs/sdks/libraries/README.md#libraries_update_v1) - Update a library. :warning: **Deprecated**
553560

554561
#### [Beta.Libraries.Accesses](docs/sdks/accesses/README.md)
555562

@@ -563,6 +570,7 @@ print(res.choices[0].message.content)
563570
* [upload](docs/sdks/documents/README.md#upload) - Upload a new document.
564571
* [get](docs/sdks/documents/README.md#get) - Retrieve the metadata of a specific document.
565572
* [update](docs/sdks/documents/README.md#update) - Update the metadata of a specific document.
573+
* [~~libraries_documents_update_v1~~](docs/sdks/documents/README.md#libraries_documents_update_v1) - Update the metadata of a specific document. :warning: **Deprecated**
566574
* [delete](docs/sdks/documents/README.md#delete) - Delete a document.
567575
* [text_content](docs/sdks/documents/README.md#text_content) - Retrieve the text content of a specific document.
568576
* [status](docs/sdks/documents/README.md#status) - Retrieve the processing status of a specific document.
@@ -635,6 +643,11 @@ print(res.choices[0].message.content)
635643
* [register](docs/sdks/ingestionpipelineconfigurations/README.md#register) - Register Config
636644
* [update_run_info](docs/sdks/ingestionpipelineconfigurations/README.md#update_run_info) - Update Run Info
637645

646+
### [Beta.Rag.SearchIndexes](docs/sdks/searchindexes/README.md)
647+
648+
* [list](docs/sdks/searchindexes/README.md#list) - Get Search Indexes
649+
* [register](docs/sdks/searchindexes/README.md#register) - Register Search Index
650+
638651
### [Chat](docs/sdks/chat/README.md)
639652

640653
* [complete](docs/sdks/chat/README.md#complete) - Chat Completion
@@ -700,6 +713,8 @@ print(res.choices[0].message.content)
700713
* [get_workflow](docs/sdks/workflows/README.md#get_workflow) - Get Workflow
701714
* [update_workflow](docs/sdks/workflows/README.md#update_workflow) - Update Workflow
702715
* [get_workflow_registration](docs/sdks/workflows/README.md#get_workflow_registration) - Get Workflow Registration
716+
* [bulk_archive_workflows](docs/sdks/workflows/README.md#bulk_archive_workflows) - Bulk Archive Workflows
717+
* [bulk_unarchive_workflows](docs/sdks/workflows/README.md#bulk_unarchive_workflows) - Bulk Unarchive Workflows
703718
* [archive_workflow](docs/sdks/workflows/README.md#archive_workflow) - Archive Workflow
704719
* [unarchive_workflow](docs/sdks/workflows/README.md#unarchive_workflow) - Unarchive Workflow
705720

@@ -744,7 +759,9 @@ print(res.choices[0].message.content)
744759

745760
* [get_schedules](docs/sdks/schedules/README.md#get_schedules) - Get Schedules
746761
* [schedule_workflow](docs/sdks/schedules/README.md#schedule_workflow) - Schedule Workflow
762+
* [get_schedule](docs/sdks/schedules/README.md#get_schedule) - Get Schedule
747763
* [unschedule_workflow](docs/sdks/schedules/README.md#unschedule_workflow) - Unschedule Workflow
764+
* [update_schedule](docs/sdks/schedules/README.md#update_schedule) - Update Schedule
748765
* [pause_schedule](docs/sdks/schedules/README.md#pause_schedule) - Pause Schedule
749766
* [resume_schedule](docs/sdks/schedules/README.md#resume_schedule) - Resume Schedule
750767

@@ -958,8 +975,8 @@ with Mistral(
958975

959976

960977
**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
961-
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 116 of 183 methods.*
962-
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 183 methods.*
978+
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 130 of 197 methods.*
979+
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 197 methods.*
963980
* [`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.
964981

965982
</details>

ā€ŽRELEASES.mdā€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,4 +638,14 @@ Based on:
638638
### Generated
639639
- [python v2.4.5] .
640640
### Releases
641-
- [PyPI v2.4.5] https://pypi.org/project/mistralai/2.4.5 - .
641+
- [PyPI v2.4.5] https://pypi.org/project/mistralai/2.4.5 - .
642+
643+
## 2026-05-22 14:12:57
644+
### Changes
645+
Based on:
646+
- OpenAPI Doc
647+
- Speakeasy CLI 1.763.6 (2.884.13) https://github.com/speakeasy-api/speakeasy
648+
### Generated
649+
- [python v2.4.7] .
650+
### Releases
651+
- [PyPI v2.4.7] https://pypi.org/project/mistralai/2.4.7 - .

ā€Ždocs/models/authenticationconfiguration.mdā€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
88
| `name` | *str* | :heavy_check_mark: | N/A |
99
| `authentication_type` | [models.OutboundAuthenticationType](../models/outboundauthenticationtype.md) | :heavy_check_mark: | N/A |
10+
| `scope` | [models.ConsumerType](../models/consumertype.md) | :heavy_check_mark: | N/A |
1011
| `is_default` | *Optional[bool]* | :heavy_minus_sign: | N/A |
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ClientCapabilities
2+
3+
Capabilities a client may support.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
10+
| `experimental` | Dict[str, Dict[str, *Any*]] | :heavy_minus_sign: | N/A |
11+
| `sampling` | [OptionalNullable[models.SamplingCapability]](../models/samplingcapability.md) | :heavy_minus_sign: | N/A |
12+
| `elicitation` | [OptionalNullable[models.ElicitationCapability]](../models/elicitationcapability.md) | :heavy_minus_sign: | N/A |
13+
| `roots` | [OptionalNullable[models.RootsCapability]](../models/rootscapability.md) | :heavy_minus_sign: | N/A |
14+
| `tasks` | [OptionalNullable[models.ClientTasksCapability]](../models/clienttaskscapability.md) | :heavy_minus_sign: | N/A |
15+
| `__pydantic_extra__` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ClientTasksCapability
2+
3+
Capability for client tasks operations.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
10+
| `list` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
11+
| `cancel` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
12+
| `requests` | [OptionalNullable[models.ClientTasksRequestsCapability]](../models/clienttasksrequestscapability.md) | :heavy_minus_sign: | N/A |
13+
| `__pydantic_extra__` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ClientTasksRequestsCapability
2+
3+
Capability for tasks requests operations.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
10+
| `sampling` | [OptionalNullable[models.TasksSamplingCapability]](../models/taskssamplingcapability.md) | :heavy_minus_sign: | N/A |
11+
| `elicitation` | [OptionalNullable[models.TasksElicitationCapability]](../models/taskselicitationcapability.md) | :heavy_minus_sign: | N/A |
12+
| `__pydantic_extra__` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# ConnectionConfigType
2+
3+
## Example Usage
4+
5+
```python
6+
from mistralai.client.models import ConnectionConfigType
7+
8+
# Open enum: unrecognized values are captured as UnrecognizedStr
9+
value: ConnectionConfigType = "mcp"
10+
```
11+
12+
13+
## Values
14+
15+
This is an open enum. Unrecognized values will not fail type checks.
16+
17+
- `"mcp"`
18+
- `"turbine"`
19+
- `"eolienne"`

0 commit comments

Comments
Ā (0)