Skip to content

Commit a117be8

Browse files
github-actions[bot]speakeasybotGaspardBT
authored
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.3.0 (#173)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.468.5 * regen with 1.462.2 --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: gaspardBT <[email protected]>
1 parent a1c6933 commit a117be8

File tree

9 files changed

+90
-20
lines changed

9 files changed

+90
-20
lines changed

.speakeasy/gen.lock

+15-7
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ management:
55
docVersion: 0.0.2
66
speakeasyVersion: 1.462.2
77
generationVersion: 2.486.1
8-
releaseVersion: 1.2.6
9-
configChecksum: 195a36c6a88eb19c3a487f1fe4a39bcc
8+
releaseVersion: 1.3.0
9+
configChecksum: e3b0a94e8a244b9061b81373ae58d4ed
1010
repoURL: https://github.com/mistralai/client-python.git
1111
installationURL: https://github.com/mistralai/client-python.git
1212
published: true
@@ -402,9 +402,11 @@ examples:
402402
parameters:
403403
path:
404404
model_id: "ft:open-mistral-7b:587a6b29:20240514:7e773925"
405+
requestBody:
406+
application/json: {}
405407
responses:
406408
"200":
407-
application/json: {"id": "<id>", "created": 857478, "owned_by": "<value>", "root": "<value>", "archived": true, "job": "905bf4aa-77f2-404e-b754-c352acfe5407"}
409+
application/json: {"id": "<id>", "created": 857478, "owned_by": "<value>", "root": "<value>", "archived": true, "capabilities": {}, "job": "905bf4aa-77f2-404e-b754-c352acfe5407"}
408410
jobs_api_routes_fine_tuning_archive_fine_tuned_model:
409411
"":
410412
parameters:
@@ -457,7 +459,7 @@ examples:
457459
jobs_api_routes_fine_tuning_create_fine_tuning_job:
458460
speakeasy-default-jobs-api-routes-fine-tuning-create-fine-tuning-job:
459461
requestBody:
460-
application/json: {"model": "codestral-latest"}
462+
application/json: {"model": "codestral-latest", "hyperparameters": {}}
461463
responses:
462464
"200":
463465
application/json: {"id": "a621cf02-1cd9-4cf5-8403-315211a509a3", "auto_start": false, "model": "2", "status": "FAILED", "job_type": "<value>", "created_at": 550483, "modified_at": 906537, "training_files": ["74c2becc-3769-4177-b5e0-24985613de0e"]}
@@ -468,23 +470,23 @@ examples:
468470
job_id: "b18d8d81-fd7b-4764-a31e-475cb1f36591"
469471
responses:
470472
"200":
471-
application/json: {"id": "58ccc65b-c928-4154-952e-30c048b8c2b5", "auto_start": false, "model": "open-mistral-nemo", "status": "VALIDATED", "job_type": "<value>", "created_at": 968091, "modified_at": 32069, "training_files": [], "checkpoints": []}
473+
application/json: {"id": "58ccc65b-c928-4154-952e-30c048b8c2b5", "auto_start": false, "hyperparameters": {}, "model": "open-mistral-nemo", "status": "VALIDATED", "job_type": "<value>", "created_at": 968091, "modified_at": 32069, "training_files": [], "checkpoints": []}
472474
jobs_api_routes_fine_tuning_cancel_fine_tuning_job:
473475
speakeasy-default-jobs-api-routes-fine-tuning-cancel-fine-tuning-job:
474476
parameters:
475477
path:
476478
job_id: "03fa7112-315a-4072-a9f2-43f3f1ec962e"
477479
responses:
478480
"200":
479-
application/json: {"id": "fb7dec95-f740-47b2-b8ee-d9b046936a67", "auto_start": true, "model": "mistral-large-latest", "status": "VALIDATED", "job_type": "<value>", "created_at": 252151, "modified_at": 56775, "training_files": [], "checkpoints": []}
481+
application/json: {"id": "fb7dec95-f740-47b2-b8ee-d9b046936a67", "auto_start": true, "hyperparameters": {}, "model": "mistral-large-latest", "status": "VALIDATED", "job_type": "<value>", "created_at": 252151, "modified_at": 56775, "training_files": [], "checkpoints": []}
480482
jobs_api_routes_fine_tuning_start_fine_tuning_job:
481483
speakeasy-default-jobs-api-routes-fine-tuning-start-fine-tuning-job:
482484
parameters:
483485
path:
484486
job_id: "0eb0f807-fb9f-4e46-9c13-4e257df6e1ba"
485487
responses:
486488
"200":
487-
application/json: {"id": "bc3810ce-43e6-4fde-85a4-cd01d1f9cf8f", "auto_start": true, "model": "codestral-latest", "status": "RUNNING", "job_type": "<value>", "created_at": 186591, "modified_at": 451468, "training_files": [], "checkpoints": []}
489+
application/json: {"id": "bc3810ce-43e6-4fde-85a4-cd01d1f9cf8f", "auto_start": true, "hyperparameters": {}, "model": "codestral-latest", "status": "RUNNING", "job_type": "<value>", "created_at": 186591, "modified_at": 451468, "training_files": [], "checkpoints": []}
488490
chat_completion_v1_chat_completions_post:
489491
speakeasy-default-chat-completion-v1-chat-completions-post:
490492
requestBody:
@@ -501,6 +503,7 @@ examples:
501503
responses:
502504
"422":
503505
application/json: {}
506+
"200": {}
504507
fim_completion_v1_fim_completions_post:
505508
speakeasy-default-fim-completion-v1-fim-completions-post:
506509
requestBody:
@@ -517,6 +520,7 @@ examples:
517520
responses:
518521
"422":
519522
application/json: {}
523+
"200": {}
520524
agents_completion_v1_agents_completions_post:
521525
speakeasy-default-agents-completion-v1-agents-completions-post:
522526
requestBody:
@@ -533,6 +537,7 @@ examples:
533537
responses:
534538
"422":
535539
application/json: {}
540+
"200": {}
536541
embeddings_v1_embeddings_post:
537542
speakeasy-default-embeddings-v1-embeddings-post:
538543
requestBody:
@@ -547,6 +552,9 @@ examples:
547552
parameters:
548553
path:
549554
file_id: "<id>"
555+
responses:
556+
"200":
557+
application/octet-stream: "x-file: example.file"
550558
jobs_api_routes_batch_get_batch_jobs:
551559
speakeasy-default-jobs-api-routes-batch-get-batch-jobs:
552560
responses:

.speakeasy/gen.yaml

+1-1
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.6
16+
version: 1.3.0
1717
additionalDependencies:
1818
dev:
1919
pytest: ^8.2.2

.speakeasy/workflow.lock

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ sources:
1818
sourceBlobDigest: sha256:ebc7c1bb20aa87873a255cebea1e451099d8949ea1bbff81ec5fd45a107e3a32
1919
tags:
2020
- latest
21-
- speakeasy-sdk-regen-1736155788
2221
targets:
2322
mistralai-azure-sdk:
2423
source: mistral-azure-source
@@ -40,10 +39,10 @@ targets:
4039
sourceRevisionDigest: sha256:84bbc6f6011a31e21c8a674b01104446f986c7b5a6b002357800be8ef939b8da
4140
sourceBlobDigest: sha256:ebc7c1bb20aa87873a255cebea1e451099d8949ea1bbff81ec5fd45a107e3a32
4241
codeSamplesNamespace: mistral-openapi-code-samples
43-
codeSamplesRevisionDigest: sha256:3d7ebf5043f98a2e9b07c66057c279f90272a813875b29bd9b75595f77caf0c4
42+
codeSamplesRevisionDigest: sha256:3868602e7de978e42d8372711d9711af5338a2f2bbf7671a5998c6176f74f58f
4443
workflow:
4544
workflowVersion: 1.0.0
46-
speakeasyVersion: latest
45+
speakeasyVersion: 1.462.2
4746
sources:
4847
mistral-azure-source:
4948
inputs:

.speakeasy/workflow.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
workflowVersion: 1.0.0
2-
speakeasyVersion: latest
2+
speakeasyVersion: 1.462.2 # # Pinned to unblock https://github.com/mistralai/client-python/pull/173
33
sources:
44
mistral-azure-source:
55
inputs:

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,14 @@ Based on:
118118
### Generated
119119
- [python v1.2.6] .
120120
### Releases
121-
- [PyPI v1.2.6] https://pypi.org/project/mistralai/1.2.6 - .
121+
- [PyPI v1.2.6] https://pypi.org/project/mistralai/1.2.6 - .
122+
123+
## 2025-01-14 09:35:05
124+
### Changes
125+
Based on:
126+
- OpenAPI Doc
127+
- Speakeasy CLI 1.468.5 (2.493.11) https://github.com/speakeasy-api/speakeasy
128+
### Generated
129+
- [python v1.3.0] .
130+
### Releases
131+
- [PyPI v1.3.0] https://pypi.org/project/mistralai/1.3.0 - .

0 commit comments

Comments
 (0)