Skip to content

Commit d14559a

Browse files
github-actions[bot]speakeasybotGaspardBT
authored
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.2.6 (#169)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.462.2 * update gcp client 1.2.6 * update azure client 1.2.6 --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: gaspardBT <[email protected]>
1 parent 329ce8c commit d14559a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+930
-535
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.speakeasy/reports
12
README-PYPI.md
23
.venv/
34
pyrightconfig.json

.speakeasy/gen.lock

Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 2d045ec7-2ebb-4f4d-ad25-40953b132161
33
management:
4-
docChecksum: 36ad3563d9d2b3af47015100d060570b
4+
docChecksum: 7ad277ed0527b2949ed9d503ce742fab
55
docVersion: 0.0.2
6-
speakeasyVersion: 1.451.1
7-
generationVersion: 2.470.1
8-
releaseVersion: 1.2.5
9-
configChecksum: 9dbada68b30d84dc9c102c143b926b3d
6+
speakeasyVersion: 1.462.2
7+
generationVersion: 2.486.1
8+
releaseVersion: 1.2.6
9+
configChecksum: 195a36c6a88eb19c3a487f1fe4a39bcc
1010
repoURL: https://github.com/mistralai/client-python.git
1111
installationURL: https://github.com/mistralai/client-python.git
1212
published: true
1313
features:
1414
python:
1515
additionalDependencies: 1.0.0
1616
constsAndDefaults: 1.0.5
17-
core: 5.6.8
17+
core: 5.7.4
1818
defaultEnabledRetries: 0.2.0
1919
downloadStreams: 1.0.1
2020
enumUnions: 0.1.0
@@ -25,10 +25,10 @@ features:
2525
globalSecurity: 3.0.2
2626
globalSecurityCallbacks: 1.0.0
2727
globalSecurityFlattening: 1.0.0
28-
globalServerURLs: 3.0.0
28+
globalServerURLs: 3.1.0
2929
methodArguments: 1.0.2
3030
multipartFileContentType: 1.0.0
31-
nameOverrides: 3.0.0
31+
nameOverrides: 3.0.1
3232
nullables: 1.0.0
3333
openEnums: 1.0.0
3434
responseFormat: 1.0.1
@@ -373,7 +373,12 @@ generatedFiles:
373373
- src/mistralai/utils/values.py
374374
examples:
375375
list_models_v1_models_get:
376-
speakeasy-default-list-models-v1-models-get: {}
376+
speakeasy-default-list-models-v1-models-get:
377+
responses:
378+
"200":
379+
application/json: {}
380+
"422":
381+
application/json: {}
377382
retrieve_model_v1_models__model_id__get:
378383
"":
379384
parameters:
@@ -487,43 +492,56 @@ examples:
487492
responses:
488493
"200":
489494
application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "mistral-small-latest", "usage": {"prompt_tokens": 16, "completion_tokens": 34, "total_tokens": 50}, "created": 1702256327, "choices": []}
490-
"422": {}
495+
"422":
496+
application/json: {}
491497
stream_chat:
492498
speakeasy-default-stream-chat:
493499
requestBody:
494500
application/json: {"model": "mistral-small-latest", "messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}]}
501+
responses:
502+
"422":
503+
application/json: {}
495504
fim_completion_v1_fim_completions_post:
496505
speakeasy-default-fim-completion-v1-fim-completions-post:
497506
requestBody:
498507
application/json: {"model": "codestral-2405", "prompt": "def", "suffix": "return a+b"}
499508
responses:
500509
"200":
501510
application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "codestral-latest", "usage": {"prompt_tokens": 16, "completion_tokens": 34, "total_tokens": 50}, "created": 1702256327, "choices": []}
502-
"422": {}
511+
"422":
512+
application/json: {}
503513
stream_fim:
504514
speakeasy-default-stream-fim:
505515
requestBody:
506516
application/json: {"model": "codestral-2405", "prompt": "def", "suffix": "return a+b"}
517+
responses:
518+
"422":
519+
application/json: {}
507520
agents_completion_v1_agents_completions_post:
508521
speakeasy-default-agents-completion-v1-agents-completions-post:
509522
requestBody:
510523
application/json: {"messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}], "agent_id": "<value>"}
511524
responses:
512525
"200":
513526
application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "mistral-small-latest", "usage": {"prompt_tokens": 16, "completion_tokens": 34, "total_tokens": 50}, "created": 1702256327, "choices": []}
514-
"422": {}
527+
"422":
528+
application/json: {}
515529
stream_agents:
516530
speakeasy-default-stream-agents:
517531
requestBody:
518532
application/json: {"messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}], "agent_id": "<value>"}
533+
responses:
534+
"422":
535+
application/json: {}
519536
embeddings_v1_embeddings_post:
520537
speakeasy-default-embeddings-v1-embeddings-post:
521538
requestBody:
522539
application/json: {"input": ["Embed this sentence.", "As well as this one."], "model": "Wrangler"}
523540
responses:
524541
"200":
525542
application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "mistral-small-latest", "usage": {"prompt_tokens": 16, "completion_tokens": 34, "total_tokens": 50}, "data": [{"object": "embedding", "embedding": [0.1, 0.2, 0.3], "index": 0}, {"object": "embedding", "embedding": [0.4, 0.5, 0.6], "index": 1}]}
526-
"422": {}
543+
"422":
544+
application/json: {}
527545
files_api_routes_download_file:
528546
speakeasy-default-files-api-routes-download-file:
529547
parameters:
@@ -564,15 +582,17 @@ examples:
564582
responses:
565583
"200":
566584
application/json: {"id": "mod-e5cc70bb28c444948073e77776eb30ef"}
567-
"422": {}
585+
"422":
586+
application/json: {}
568587
moderations_chat_v1_chat_moderations_post:
569588
speakeasy-default-moderations-chat-v1-chat-moderations-post:
570589
requestBody:
571590
application/json: {"input": [[{"content": "<value>"}, {"content": "<value>"}, {"content": "<value>"}], [{"content": "<value>"}]], "model": "V90"}
572591
responses:
573592
"200":
574593
application/json: {"id": "mod-e5cc70bb28c444948073e77776eb30ef"}
575-
"422": {}
594+
"422":
595+
application/json: {}
576596
files_api_routes_get_signed_url:
577597
speakeasy-default-files-api-routes-get-signed-url:
578598
parameters:

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generation:
1313
oAuth2ClientCredentialsEnabled: true
1414
oAuth2PasswordEnabled: false
1515
python:
16-
version: 1.2.5
16+
version: 1.2.6
1717
additionalDependencies:
1818
dev:
1919
pytest: ^8.2.2

.speakeasy/workflow.lock

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
1-
speakeasyVersion: 1.451.1
1+
speakeasyVersion: 1.462.2
22
sources:
33
mistral-azure-source:
44
sourceNamespace: mistral-azure-source
5-
sourceRevisionDigest: sha256:9c35eed0174f2d8165807bcd7c8e7b7111fa97c059a77ae7eeaa352ca7e83b4d
6-
sourceBlobDigest: sha256:07283bfde08363f9f69b133888b482472c4bf12d2e5b59cb33c8993c517278e3
5+
sourceRevisionDigest: sha256:ff181b1e0e3894a4925f7ae87415323058538a13bae9d9d508a8fe3b6ec0e333
6+
sourceBlobDigest: sha256:a2b4fd69298ebb9adb0d3c8dfb452db52defac512a7532203eebffb6a252df76
77
tags:
88
- latest
99
mistral-google-cloud-source:
1010
sourceNamespace: mistral-google-cloud-source
11-
sourceRevisionDigest: sha256:e0fd58ce2dbba068f375d3a23d758b8678c2a68cf4fc7bc46ea7e1b37abe0647
12-
sourceBlobDigest: sha256:0707d8d2566a9ef4ef286bb0abe467f8696ccf83ba73091065d7caf627a06611
11+
sourceRevisionDigest: sha256:36c7de11e35023dc8fa5f3c0fb0e486d2a102275a2df808c08cfe9d43089be04
12+
sourceBlobDigest: sha256:dd65bfa5d0448ad1851ebb18b57aa675533cd3e166beb86a390b0ab51d16a1c1
1313
tags:
1414
- latest
1515
mistral-openapi:
1616
sourceNamespace: mistral-openapi
17-
sourceRevisionDigest: sha256:f74c08bdc7ae39f5fe2394df8f31ae623ece30a7f65019ab6b7bcea352953f05
18-
sourceBlobDigest: sha256:5de08a038994ec94c0889341d434b598f541459d114f9935deb9ef3b3af90c5f
17+
sourceRevisionDigest: sha256:84bbc6f6011a31e21c8a674b01104446f986c7b5a6b002357800be8ef939b8da
18+
sourceBlobDigest: sha256:ebc7c1bb20aa87873a255cebea1e451099d8949ea1bbff81ec5fd45a107e3a32
1919
tags:
2020
- latest
21-
- speakeasy-sdk-regen-1733325251
21+
- speakeasy-sdk-regen-1736155788
2222
targets:
2323
mistralai-azure-sdk:
2424
source: mistral-azure-source
2525
sourceNamespace: mistral-azure-source
26-
sourceRevisionDigest: sha256:9c35eed0174f2d8165807bcd7c8e7b7111fa97c059a77ae7eeaa352ca7e83b4d
27-
sourceBlobDigest: sha256:07283bfde08363f9f69b133888b482472c4bf12d2e5b59cb33c8993c517278e3
26+
sourceRevisionDigest: sha256:ff181b1e0e3894a4925f7ae87415323058538a13bae9d9d508a8fe3b6ec0e333
27+
sourceBlobDigest: sha256:a2b4fd69298ebb9adb0d3c8dfb452db52defac512a7532203eebffb6a252df76
2828
codeSamplesNamespace: mistral-openapi-azure-code-samples
29-
codeSamplesRevisionDigest: sha256:79a227720579444358a825b1a272c153f3d9dd48cd0913be6c988d7931a44241
29+
codeSamplesRevisionDigest: sha256:28356dba7ea28436035e20182b8ce4d1951e19503b5accef6a128d860361e5c0
3030
mistralai-gcp-sdk:
3131
source: mistral-google-cloud-source
3232
sourceNamespace: mistral-google-cloud-source
33-
sourceRevisionDigest: sha256:e0fd58ce2dbba068f375d3a23d758b8678c2a68cf4fc7bc46ea7e1b37abe0647
34-
sourceBlobDigest: sha256:0707d8d2566a9ef4ef286bb0abe467f8696ccf83ba73091065d7caf627a06611
33+
sourceRevisionDigest: sha256:36c7de11e35023dc8fa5f3c0fb0e486d2a102275a2df808c08cfe9d43089be04
34+
sourceBlobDigest: sha256:dd65bfa5d0448ad1851ebb18b57aa675533cd3e166beb86a390b0ab51d16a1c1
3535
codeSamplesNamespace: mistral-openapi-google-cloud-code-samples
36-
codeSamplesRevisionDigest: sha256:0657ec41e473356a5a0eeaca3dff137e9ff16080ec1fb50e72553245aa86ffe5
36+
codeSamplesRevisionDigest: sha256:7de23f90d6543356f310f46375bef4db7f43eb22b2871ad4dfe1b7d0cc875bb4
3737
mistralai-sdk:
3838
source: mistral-openapi
3939
sourceNamespace: mistral-openapi
40-
sourceRevisionDigest: sha256:f74c08bdc7ae39f5fe2394df8f31ae623ece30a7f65019ab6b7bcea352953f05
41-
sourceBlobDigest: sha256:5de08a038994ec94c0889341d434b598f541459d114f9935deb9ef3b3af90c5f
40+
sourceRevisionDigest: sha256:84bbc6f6011a31e21c8a674b01104446f986c7b5a6b002357800be8ef939b8da
41+
sourceBlobDigest: sha256:ebc7c1bb20aa87873a255cebea1e451099d8949ea1bbff81ec5fd45a107e3a32
4242
codeSamplesNamespace: mistral-openapi-code-samples
43-
codeSamplesRevisionDigest: sha256:9a22e0289ff4e72dd43c1b65ddb8c7870814176d36e1eb6352d06e93dec597ba
43+
codeSamplesRevisionDigest: sha256:3d7ebf5043f98a2e9b07c66057c279f90272a813875b29bd9b75595f77caf0c4
4444
workflow:
4545
workflowVersion: 1.0.0
4646
speakeasyVersion: latest

0 commit comments

Comments
 (0)