Skip to content

Commit c3b2f84

Browse files
authored
Merge pull request #140 from mistralai/speakeasy-sdk-regen-1724922548
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.0.3
2 parents 00fea16 + 951f0bb commit c3b2f84

File tree

15 files changed

+62
-86
lines changed

15 files changed

+62
-86
lines changed

.speakeasy/gen.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ id: 2d045ec7-2ebb-4f4d-ad25-40953b132161
33
management:
44
docChecksum: ad1a7d6946828a089ca3831e257d307d
55
docVersion: 0.0.2
6-
speakeasyVersion: 1.376.0
7-
generationVersion: 2.402.5
8-
releaseVersion: 1.0.2
9-
configChecksum: ed07f7fc253047a5a4dd2c0f813b8ea4
6+
speakeasyVersion: 1.382.0
7+
generationVersion: 2.404.11
8+
releaseVersion: 1.0.3
9+
configChecksum: 818970b881ec69b05f6660ca354f26f5
1010
repoURL: https://github.com/mistralai/client-python.git
1111
installationURL: https://github.com/mistralai/client-python.git
1212
published: true

.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: true
1414
python:
15-
version: 1.0.2
15+
version: 1.0.3
1616
additionalDependencies:
1717
dev:
1818
pytest: ^8.2.2

.speakeasy/workflow.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.376.0
1+
speakeasyVersion: 1.382.0
22
sources:
33
mistral-azure-source:
44
sourceNamespace: mistral-openapi-azure

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,14 @@ Based on:
2828
### Generated
2929
- [python v1.0.2] .
3030
### Releases
31-
- [PyPI v1.0.2] https://pypi.org/project/mistralai/1.0.2 - .
31+
- [PyPI v1.0.2] https://pypi.org/project/mistralai/1.0.2 - .
32+
33+
## 2024-08-29 09:09:05
34+
### Changes
35+
Based on:
36+
- OpenAPI Doc
37+
- Speakeasy CLI 1.382.0 (2.404.11) https://github.com/speakeasy-api/speakeasy
38+
### Generated
39+
- [python v1.0.3] .
40+
### Releases
41+
- [PyPI v1.0.3] https://pypi.org/project/mistralai/1.0.3 - .

docs/sdks/agents/README.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ if res is not None:
3838

3939
```
4040

41-
42-
4341
### Parameters
4442

4543
| Parameter | Type | Required | Description | Example |
@@ -56,17 +54,18 @@ if res is not None:
5654
| `tool_choice` | [Optional[models.AgentsCompletionRequestToolChoice]](../../models/agentscompletionrequesttoolchoice.md) | :heavy_minus_sign: | N/A | |
5755
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | |
5856

59-
6057
### Response
6158

6259
**[models.ChatCompletionResponse](../../models/chatcompletionresponse.md)**
60+
6361
### Errors
6462

6563
| Error Object | Status Code | Content Type |
6664
| -------------------------- | -------------------------- | -------------------------- |
6765
| models.HTTPValidationError | 422 | application/json |
6866
| models.SDKError | 4xx-5xx | */* |
6967

68+
7069
## stream
7170

7271
Mistral AI provides the ability to stream responses back to a client in order to allow partial results for certain requests. Tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
@@ -96,8 +95,6 @@ if res is not None:
9695

9796
```
9897

99-
100-
10198
### Parameters
10299

103100
| Parameter | Type | Required | Description | Example |
@@ -114,10 +111,10 @@ if res is not None:
114111
| `tool_choice` | [Optional[models.AgentsCompletionStreamRequestToolChoice]](../../models/agentscompletionstreamrequesttoolchoice.md) | :heavy_minus_sign: | N/A | |
115112
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | |
116113

117-
118114
### Response
119115

120116
**[Union[Generator[models.CompletionEvent, None, None], AsyncGenerator[models.CompletionEvent, None]]](../../models/.md)**
117+
121118
### Errors
122119

123120
| Error Object | Status Code | Content Type |

docs/sdks/chat/README.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ if res is not None:
3838

3939
```
4040

41-
42-
4341
### Parameters
4442

4543
| Parameter | Type | Required | Description | Example |
@@ -59,17 +57,18 @@ if res is not None:
5957
| `safe_prompt` | *Optional[bool]* | :heavy_minus_sign: | Whether to inject a safety prompt before all conversations. | |
6058
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | |
6159

62-
6360
### Response
6461

6562
**[models.ChatCompletionResponse](../../models/chatcompletionresponse.md)**
63+
6664
### Errors
6765

6866
| Error Object | Status Code | Content Type |
6967
| -------------------------- | -------------------------- | -------------------------- |
7068
| models.HTTPValidationError | 422 | application/json |
7169
| models.SDKError | 4xx-5xx | */* |
7270

71+
7372
## stream
7473

7574
Mistral AI provides the ability to stream responses back to a client in order to allow partial results for certain requests. Tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
@@ -99,8 +98,6 @@ if res is not None:
9998

10099
```
101100

102-
103-
104101
### Parameters
105102

106103
| Parameter | Type | Required | Description | Example |
@@ -120,10 +117,10 @@ if res is not None:
120117
| `safe_prompt` | *Optional[bool]* | :heavy_minus_sign: | Whether to inject a safety prompt before all conversations. | |
121118
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | |
122119

123-
124120
### Response
125121

126122
**[Union[Generator[models.CompletionEvent, None, None], AsyncGenerator[models.CompletionEvent, None]]](../../models/.md)**
123+
127124
### Errors
128125

129126
| Error Object | Status Code | Content Type |

0 commit comments

Comments
 (0)