Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
266 changes: 97 additions & 169 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 2.1.1
version: 2.1.2
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ sources:
- speakeasy-sdk-regen-1773084660
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:07001643ff9c8cc14ad90b1339637698af0fcf923c6336398016ff927f825f2b
sourceBlobDigest: sha256:6566cab4050d1f6841c4717a5d0c91819dea84840d7c04b1194ca939aee3d8e7
sourceRevisionDigest: sha256:2796a05e4b9f32ebc2ffa6b195b959507d7d2683f6b06593781cc8ebdcd7cb6f
sourceBlobDigest: sha256:9e5029c7cf5ae151e2b0a123e70013dc6d9a58b8127884cf33e85fa3be32abee
tags:
- latest
targets:
Expand All @@ -38,10 +38,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:07001643ff9c8cc14ad90b1339637698af0fcf923c6336398016ff927f825f2b
sourceBlobDigest: sha256:6566cab4050d1f6841c4717a5d0c91819dea84840d7c04b1194ca939aee3d8e7
sourceRevisionDigest: sha256:2796a05e4b9f32ebc2ffa6b195b959507d7d2683f6b06593781cc8ebdcd7cb6f
sourceBlobDigest: sha256:9e5029c7cf5ae151e2b0a123e70013dc6d9a58b8127884cf33e85fa3be32abee
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:972495e91c76c3f044f7d71d8ccb55294421ddb6247c3e0b3dbd3c27490a7184
codeSamplesRevisionDigest: sha256:5aa694bacc4be160d5afb6c05c08407744acbc82e951d650b2a2faaeb13e4271
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.754.0
Expand Down
8 changes: 0 additions & 8 deletions README-PYPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ with Mistral(
},
], stream=False, response_format={
"type": "text",
}, additional_properties={

})

# Handle response
Expand Down Expand Up @@ -190,8 +188,6 @@ async def main():
},
], stream=False, response_format={
"type": "text",
}, additional_properties={

})

# Handle response
Expand Down Expand Up @@ -271,8 +267,6 @@ with Mistral(
},
], agent_id="<id>", stream=False, response_format={
"type": "text",
}, additional_properties={

})

# Handle response
Expand Down Expand Up @@ -302,8 +296,6 @@ async def main():
},
], agent_id="<id>", stream=False, response_format={
"type": "text",
}, additional_properties={

})

# Handle response
Expand Down
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ with Mistral(
},
], stream=False, response_format={
"type": "text",
}, additional_properties={

})

# Handle response
Expand Down Expand Up @@ -190,8 +188,6 @@ async def main():
},
], stream=False, response_format={
"type": "text",
}, additional_properties={

})

# Handle response
Expand Down Expand Up @@ -271,8 +267,6 @@ with Mistral(
},
], agent_id="<id>", stream=False, response_format={
"type": "text",
}, additional_properties={

})

# Handle response
Expand Down Expand Up @@ -302,8 +296,6 @@ async def main():
},
], agent_id="<id>", stream=False, response_format={
"type": "text",
}, additional_properties={

})

# Handle response
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,4 +468,14 @@ Based on:
### Generated
- [python v2.1.1] .
### Releases
- [PyPI v2.1.1] https://pypi.org/project/mistralai/2.1.1 - .
- [PyPI v2.1.1] https://pypi.org/project/mistralai/2.1.1 - .

## 2026-03-20 14:40:56
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.754.0 (2.862.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.1.2] .
### Releases
- [PyPI v2.1.2] https://pypi.org/project/mistralai/2.1.2 - .
8 changes: 0 additions & 8 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ with Mistral(
},
], stream=False, response_format={
"type": "text",
}, additional_properties={

})

# Handle response
Expand Down Expand Up @@ -51,8 +49,6 @@ async def main():
},
], stream=False, response_format={
"type": "text",
}, additional_properties={

})

# Handle response
Expand Down Expand Up @@ -132,8 +128,6 @@ with Mistral(
},
], agent_id="<id>", stream=False, response_format={
"type": "text",
}, additional_properties={

})

# Handle response
Expand Down Expand Up @@ -163,8 +157,6 @@ async def main():
},
], agent_id="<id>", stream=False, response_format={
"type": "text",
}, additional_properties={

})

# Handle response
Expand Down
5 changes: 2 additions & 3 deletions docs/models/agentscompletionrequest.md

Large diffs are not rendered by default.

47 changes: 0 additions & 47 deletions docs/models/agentscompletionrequesttools1.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/models/agentscompletionrequesttools2.md

This file was deleted.

5 changes: 2 additions & 3 deletions docs/models/agentscompletionstreamrequest.md

Large diffs are not rendered by default.

47 changes: 0 additions & 47 deletions docs/models/agentscompletionstreamrequesttools1.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/models/agentscompletionstreamrequesttools2.md

This file was deleted.

14 changes: 7 additions & 7 deletions docs/models/basefielddefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `name` | *str* | :heavy_check_mark: | N/A |
| `label` | *str* | :heavy_check_mark: | N/A |
| `type` | [models.BaseFieldDefinitionType](../models/basefielddefinitiontype.md) | :heavy_check_mark: | N/A |
| `group` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `supported_operators` | List[[models.SupportedOperator](../models/supportedoperator.md)] | :heavy_check_mark: | N/A |
| Field | Type | Required | Description |
| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- |
| `name` | *str* | :heavy_check_mark: | N/A |
| `label` | *str* | :heavy_check_mark: | N/A |
| `type` | [models.TypeEnum](../models/typeenum.md) | :heavy_check_mark: | N/A |
| `group` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `supported_operators` | List[[models.SupportedOperator](../models/supportedoperator.md)] | :heavy_check_mark: | N/A |
10 changes: 10 additions & 0 deletions docs/models/chatcompletionchoice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# ChatCompletionChoice


## Fields

| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| `index` | *int* | :heavy_check_mark: | N/A | 0 |
| `message` | [models.AssistantMessage](../models/assistantmessage.md) | :heavy_check_mark: | N/A | |
| `finish_reason` | [models.ChatCompletionChoiceFinishReason](../models/chatcompletionchoicefinishreason.md) | :heavy_check_mark: | N/A | stop |
11 changes: 0 additions & 11 deletions docs/models/chatcompletionchoice1.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/models/chatcompletionchoice2.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# ChatCompletionChoiceFinishReason1
# ChatCompletionChoiceFinishReason

## Example Usage

```python
from mistralai.client.models import ChatCompletionChoiceFinishReason1
from mistralai.client.models import ChatCompletionChoiceFinishReason

# Open enum: unrecognized values are captured as UnrecognizedStr
value: ChatCompletionChoiceFinishReason1 = "stop"
value: ChatCompletionChoiceFinishReason = "stop"
```


Expand Down
21 changes: 0 additions & 21 deletions docs/models/chatcompletionchoicefinishreason2.md

This file was deleted.

Loading
Loading