Skip to content

Commit 878fdda

Browse files
mistral-warden[bot]maiengineeringandreaonofrei01
authored
chore: sync generated SDK from upstream (#620)
* chore: sync generated SDK from upstream @ 6a7ee233 Generated upstream and copied here. Do not edit in this repository; changes are overwritten by the next sync. * docs: note the breaking changes in this release The generated section above diffs operation names, so a method whose signature changed but whose name did not shows up as unchanged -- connectors.create being the clearest case. These are the model and signature changes behind it, plus a fix worth calling out: transcription segment timestamps were typed non-null while the API can return null, so diarized transcriptions failed to parse. --------- Co-authored-by: Buildkite CI <engineering@mistral.ai> Co-authored-by: Andrea Onofrei <andrea.onofrei@mistral.ai>
1 parent ef4bd07 commit 878fdda

383 files changed

Lines changed: 15230 additions & 8961 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: 1064 additions & 782 deletions
Large diffs are not rendered by default.

‎.speakeasy/gen.yaml‎

Lines changed: 15 additions & 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.9.4
35+
version: 2.10.0
3636
additionalDependencies:
3737
dev:
3838
pytest: ^8.2.2
@@ -47,13 +47,19 @@ python:
4747
authors:
4848
- Mistral
4949
baseErrorName: MistralError
50+
bodyVariantOverloads: false
5051
clientServerStatusCodesAsErrors: true
5152
constFieldCasing: normal
5253
defaultErrorName: SDKError
5354
description: Python Client SDK for the Mistral AI API.
55+
durationFormat: false
5456
enableCustomCodeRegions: true
5557
enumFormat: union
5658
envVarPrefix: MISTRAL
59+
errorSchemaValidation: true
60+
eventStreamClassNames:
61+
async: EventStreamAsync
62+
sync: EventStream
5763
fixFlags:
5864
asyncPaginationSep2025: true
5965
conflictResistantModelImportsFeb2026: true
@@ -64,6 +70,7 @@ python:
6470
flatteningOrder: parameters-first
6571
forwardCompatibleEnumsByDefault: true
6672
forwardCompatibleUnionsByDefault: tagged-only
73+
httpClientLibrary: httpx
6774
imports:
6875
option: openapi
6976
paths:
@@ -74,18 +81,25 @@ python:
7481
webhooks: ""
7582
inferUnionDiscriminators: true
7683
inputModelSuffix: input
84+
inputTypedDictSuffix: TypedDict
7785
license: ""
7886
maxMethodParams: 999
7987
methodArguments: infer-optional-args
88+
methodTimeoutArgument: timeout-ms
89+
methodTimeoutUnits: milliseconds
8090
moduleName: mistralai.client
8191
multipartArrayFormat: standard
92+
optionalDependencies: {}
8293
outputModelSuffix: output
8394
packageManager: uv
8495
packageName: mistralai
8596
preApplyUnionDiscriminators: true
8697
pytestFilterWarnings: []
8798
pytestTimeout: 0
99+
rawResponseHelpers: false
88100
responseFormat: flat
101+
responseSchemaValidation: true
89102
sseFlatResponse: false
90103
templateVersion: v2
91104
useAsyncHooks: false
105+
uuidFormat: false

‎.speakeasy/workflow.lock‎

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.763.6
1+
speakeasyVersion: 1.796.1
22
sources:
33
mistral-azure-source:
44
sourceNamespace: mistral-openapi-azure
@@ -16,11 +16,11 @@ sources:
1616
- speakeasy-mistralai-gcp-sdk-26292830187-1
1717
mistral-openapi:
1818
sourceNamespace: mistral-openapi
19-
sourceRevisionDigest: sha256:dd3cb1cdab5ca2e43dc2282376a0ada61a026ec9b822fe85fef08f3ea306f5c2
20-
sourceBlobDigest: sha256:0f41cfcdccaa12c4bd8175746df7083d932f69fa61823d02a2cefa54e2fec86b
19+
sourceRevisionDigest: sha256:7e00433a9f9afac4042b008408e6dafa5871496d9bdf8e8d94fbf9d041a4e4e4
20+
sourceBlobDigest: sha256:decdf2e5f849d723d70e5ed0627b00a4e856caaf4b255654fe649f20cbc1f3f5
2121
tags:
2222
- latest
23-
- speakeasy-mistralai-sdk-32468563619-1
23+
- 1.0.0
2424
targets:
2525
mistralai-azure-sdk:
2626
source: mistral-azure-source
@@ -39,23 +39,25 @@ targets:
3939
mistralai-sdk:
4040
source: mistral-openapi
4141
sourceNamespace: mistral-openapi
42-
sourceRevisionDigest: sha256:dd3cb1cdab5ca2e43dc2282376a0ada61a026ec9b822fe85fef08f3ea306f5c2
43-
sourceBlobDigest: sha256:0f41cfcdccaa12c4bd8175746df7083d932f69fa61823d02a2cefa54e2fec86b
42+
sourceRevisionDigest: sha256:7e00433a9f9afac4042b008408e6dafa5871496d9bdf8e8d94fbf9d041a4e4e4
43+
sourceBlobDigest: sha256:decdf2e5f849d723d70e5ed0627b00a4e856caaf4b255654fe649f20cbc1f3f5
4444
codeSamplesNamespace: mistral-openapi-code-samples
45-
codeSamplesRevisionDigest: sha256:76e21a69a84e68ff4cb80e73a409c43211d3626a82e6b57b3e703ad06392f6d1
45+
codeSamplesRevisionDigest: sha256:5d773ddc575bc25eef38f775aa07159a7e74491ec038281d58cd721c834b14ed
4646
workflow:
4747
workflowVersion: 1.0.0
48-
speakeasyVersion: 1.763.6
48+
speakeasyVersion: 1.796.1
4949
sources:
5050
mistral-azure-source:
5151
inputs:
52-
- location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-azure:v2
52+
- location: ../openapi/specs/v2/azure-sdk.yaml
5353
mistral-google-cloud-source:
5454
inputs:
55-
- location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-google-cloud:v2
55+
- location: ../openapi/specs/v2/google-cloud-sdk.yaml
5656
mistral-openapi:
5757
inputs:
58-
- location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi:v2
58+
- location: ../openapi/specs/v2/main-sdk.yaml
59+
registry:
60+
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi
5961
targets:
6062
mistralai-azure-sdk:
6163
target: python

‎AGENTS.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ At the repo root, that currently includes files such as:
2020
- `examples/*`
2121
- `utils/*`
2222
- `src/mistralai/extra/*`
23-
- `pylintrc`
2423
- `scripts/prepare_readme.py`
2524

2625
There are also package-specific ownership files:

0 commit comments

Comments
 (0)