Skip to content

Commit ec0e7c4

Browse files
github-actions[bot]speakeasybotactions-userlouis-sanna-dev
authored
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 2.1.2 (#444)
* ## Python SDK Changes: * `mistral.beta.conversations.start()`: * `request.tools[]` **Changed** (Breaking ⚠️) * `mistral.beta.conversations.list()`: `response.[].union(ModelConversation).tools[]` **Changed** (Breaking ⚠️) * `mistral.beta.conversations.get()`: `response.union(ModelConversation).tools[]` **Changed** (Breaking ⚠️) * `mistral.beta.conversations.start_stream()`: * `request.tools[]` **Changed** (Breaking ⚠️) * `mistral.beta.agents.create()`: * `request.tools[]` **Changed** (Breaking ⚠️) * `response.tools[]` **Changed** (Breaking ⚠️) * `mistral.beta.agents.list()`: `response.[].tools[]` **Changed** (Breaking ⚠️) * `mistral.beta.agents.get()`: `response.tools[]` **Changed** (Breaking ⚠️) * `mistral.beta.agents.update()`: * `request.tools[]` **Changed** (Breaking ⚠️) * `response.tools[]` **Changed** (Breaking ⚠️) * `mistral.beta.agents.update_version()`: `response.tools[]` **Changed** (Breaking ⚠️) * `mistral.beta.agents.list_versions()`: `response.[].tools[]` **Changed** (Breaking ⚠️) * `mistral.beta.agents.get_version()`: `response.tools[]` **Changed** (Breaking ⚠️) * `mistral.chat.complete()`: * `request` **Changed** (Breaking ⚠️) * `response.choices[]` **Changed** (Breaking ⚠️) * `mistral.chat.stream()`: `request` **Changed** (Breaking ⚠️) * `mistral.fim.complete()`: `response.choices[]` **Changed** (Breaking ⚠️) * `mistral.agents.complete()`: * `request` **Changed** (Breaking ⚠️) * `response.choices[]` **Changed** (Breaking ⚠️) * `mistral.agents.stream()`: `request` **Changed** (Breaking ⚠️) * chore: align pyproject.toml and uv.lock to version 2.1.2 * chore: trigger CI * fix(examples): revert to list[Tool] now that ChatCompletionRequestTools1 is removed * chore: retrigger CI --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Louis Sanna <louis.sanna@mistral.ai>
1 parent 325c500 commit ec0e7c4

69 files changed

Lines changed: 427 additions & 1346 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: 97 additions & 169 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
@@ -31,7 +31,7 @@ generation:
3131
generateNewTests: false
3232
skipResponseBodyAssertions: false
3333
python:
34-
version: 2.1.1
34+
version: 2.1.2
3535
additionalDependencies:
3636
dev:
3737
pytest: ^8.2.2

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ sources:
1616
- speakeasy-sdk-regen-1773084660
1717
mistral-openapi:
1818
sourceNamespace: mistral-openapi
19-
sourceRevisionDigest: sha256:07001643ff9c8cc14ad90b1339637698af0fcf923c6336398016ff927f825f2b
20-
sourceBlobDigest: sha256:6566cab4050d1f6841c4717a5d0c91819dea84840d7c04b1194ca939aee3d8e7
19+
sourceRevisionDigest: sha256:2796a05e4b9f32ebc2ffa6b195b959507d7d2683f6b06593781cc8ebdcd7cb6f
20+
sourceBlobDigest: sha256:9e5029c7cf5ae151e2b0a123e70013dc6d9a58b8127884cf33e85fa3be32abee
2121
tags:
2222
- latest
2323
targets:
@@ -38,10 +38,10 @@ targets:
3838
mistralai-sdk:
3939
source: mistral-openapi
4040
sourceNamespace: mistral-openapi
41-
sourceRevisionDigest: sha256:07001643ff9c8cc14ad90b1339637698af0fcf923c6336398016ff927f825f2b
42-
sourceBlobDigest: sha256:6566cab4050d1f6841c4717a5d0c91819dea84840d7c04b1194ca939aee3d8e7
41+
sourceRevisionDigest: sha256:2796a05e4b9f32ebc2ffa6b195b959507d7d2683f6b06593781cc8ebdcd7cb6f
42+
sourceBlobDigest: sha256:9e5029c7cf5ae151e2b0a123e70013dc6d9a58b8127884cf33e85fa3be32abee
4343
codeSamplesNamespace: mistral-openapi-code-samples
44-
codeSamplesRevisionDigest: sha256:972495e91c76c3f044f7d71d8ccb55294421ddb6247c3e0b3dbd3c27490a7184
44+
codeSamplesRevisionDigest: sha256:5aa694bacc4be160d5afb6c05c08407744acbc82e951d650b2a2faaeb13e4271
4545
workflow:
4646
workflowVersion: 1.0.0
4747
speakeasyVersion: 1.754.0

β€ŽREADME-PYPI.mdβ€Ž

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ with Mistral(
159159
},
160160
], stream=False, response_format={
161161
"type": "text",
162-
}, additional_properties={
163-
164162
})
165163

166164
# Handle response
@@ -190,8 +188,6 @@ async def main():
190188
},
191189
], stream=False, response_format={
192190
"type": "text",
193-
}, additional_properties={
194-
195191
})
196192

197193
# Handle response
@@ -271,8 +267,6 @@ with Mistral(
271267
},
272268
], agent_id="<id>", stream=False, response_format={
273269
"type": "text",
274-
}, additional_properties={
275-
276270
})
277271

278272
# Handle response
@@ -302,8 +296,6 @@ async def main():
302296
},
303297
], agent_id="<id>", stream=False, response_format={
304298
"type": "text",
305-
}, additional_properties={
306-
307299
})
308300

309301
# Handle response

β€ŽREADME.mdβ€Ž

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ with Mistral(
159159
},
160160
], stream=False, response_format={
161161
"type": "text",
162-
}, additional_properties={
163-
164162
})
165163

166164
# Handle response
@@ -190,8 +188,6 @@ async def main():
190188
},
191189
], stream=False, response_format={
192190
"type": "text",
193-
}, additional_properties={
194-
195191
})
196192

197193
# Handle response
@@ -271,8 +267,6 @@ with Mistral(
271267
},
272268
], agent_id="<id>", stream=False, response_format={
273269
"type": "text",
274-
}, additional_properties={
275-
276270
})
277271

278272
# Handle response
@@ -302,8 +296,6 @@ async def main():
302296
},
303297
], agent_id="<id>", stream=False, response_format={
304298
"type": "text",
305-
}, additional_properties={
306-
307299
})
308300

309301
# Handle response

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,4 +468,14 @@ Based on:
468468
### Generated
469469
- [python v2.1.1] .
470470
### Releases
471-
- [PyPI v2.1.1] https://pypi.org/project/mistralai/2.1.1 - .
471+
- [PyPI v2.1.1] https://pypi.org/project/mistralai/2.1.1 - .
472+
473+
## 2026-03-20 14:40:56
474+
### Changes
475+
Based on:
476+
- OpenAPI Doc
477+
- Speakeasy CLI 1.754.0 (2.862.0) https://github.com/speakeasy-api/speakeasy
478+
### Generated
479+
- [python v2.1.2] .
480+
### Releases
481+
- [PyPI v2.1.2] https://pypi.org/project/mistralai/2.1.2 - .

β€ŽUSAGE.mdβ€Ž

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ with Mistral(
2020
},
2121
], stream=False, response_format={
2222
"type": "text",
23-
}, additional_properties={
24-
2523
})
2624

2725
# Handle response
@@ -51,8 +49,6 @@ async def main():
5149
},
5250
], stream=False, response_format={
5351
"type": "text",
54-
}, additional_properties={
55-
5652
})
5753

5854
# Handle response
@@ -132,8 +128,6 @@ with Mistral(
132128
},
133129
], agent_id="<id>", stream=False, response_format={
134130
"type": "text",
135-
}, additional_properties={
136-
137131
})
138132

139133
# Handle response
@@ -163,8 +157,6 @@ async def main():
163157
},
164158
], agent_id="<id>", stream=False, response_format={
165159
"type": "text",
166-
}, additional_properties={
167-
168160
})
169161

170162
# Handle response

β€Ždocs/models/agentscompletionrequest.mdβ€Ž

Lines changed: 2 additions & 3 deletions
Large diffs are not rendered by default.

β€Ždocs/models/agentscompletionrequesttools1.mdβ€Ž

Lines changed: 0 additions & 47 deletions
This file was deleted.

β€Ždocs/models/agentscompletionrequesttools2.mdβ€Ž

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
Β (0)