Skip to content

Commit 79cf7f5

Browse files
## SDK Changes Detected: (#320)
* `mistral_azure.chat.complete()`: * `request.messages.[].[assistant].content.[array]` **Changed** **Breaking** ⚠️ Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 9d1e739 commit 79cf7f5

Some content is hidden

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

42 files changed

+617
-270
lines changed

.speakeasy/workflow.lock

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ speakeasyVersion: 1.606.10
22
sources:
33
mistral-azure-source:
44
sourceNamespace: mistral-openapi-azure
5-
sourceRevisionDigest: sha256:670c460702ec74f7077491464a6dc5ee9d873969c80e812c48dbf4deb160e470
6-
sourceBlobDigest: sha256:5a3ebfa4cb00a015bb7bb03ec7442fc7e0b9c17ca66ab35d3045290b2ad87eac
5+
sourceRevisionDigest: sha256:fcc7262f29ef89a07cb718d7e6094c272627cf9f531588aef15a6e92dd50130a
6+
sourceBlobDigest: sha256:9e6fc34474062726ceb96e424e858a0ae1b0506659cd11a58c72e1dd50dae885
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1768231850
910
mistral-google-cloud-source:
1011
sourceNamespace: mistral-openapi-google-cloud
1112
sourceRevisionDigest: sha256:4a5343e63c6a78152e472b00ccc46d7bcb15594496bc94c8040039d3a9d4c5f8
@@ -23,10 +24,10 @@ targets:
2324
mistralai-azure-sdk:
2425
source: mistral-azure-source
2526
sourceNamespace: mistral-openapi-azure
26-
sourceRevisionDigest: sha256:670c460702ec74f7077491464a6dc5ee9d873969c80e812c48dbf4deb160e470
27-
sourceBlobDigest: sha256:5a3ebfa4cb00a015bb7bb03ec7442fc7e0b9c17ca66ab35d3045290b2ad87eac
27+
sourceRevisionDigest: sha256:fcc7262f29ef89a07cb718d7e6094c272627cf9f531588aef15a6e92dd50130a
28+
sourceBlobDigest: sha256:9e6fc34474062726ceb96e424e858a0ae1b0506659cd11a58c72e1dd50dae885
2829
codeSamplesNamespace: mistral-openapi-azure-code-samples
29-
codeSamplesRevisionDigest: sha256:e6802c97fd9783aa91cc0853de1a889944f699b88e0dafcf9fecd83de6e2c6c9
30+
codeSamplesRevisionDigest: sha256:9ab092d625da8034f7c17321ce5295ecad19ca4e2be2851a1a5a977c6bbeff05
3031
mistralai-gcp-sdk:
3132
source: mistral-google-cloud-source
3233
sourceNamespace: mistral-openapi-google-cloud

packages/mistralai_azure/.speakeasy/gen.lock

Lines changed: 31 additions & 14 deletions
Large diffs are not rendered by default.

packages/mistralai_azure/.speakeasy/gen.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ generation:
2121
generateNewTests: false
2222
skipResponseBodyAssertions: false
2323
python:
24-
version: 1.6.0
24+
version: 1.7.0
2525
additionalDependencies:
2626
dev:
2727
pytest: ^8.2.2
2828
pytest-asyncio: ^0.23.7
29+
allowedRedefinedBuiltins:
30+
- id
31+
- object
2932
authors:
3033
- Mistral
3134
baseErrorName: MistralAzureError
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
3+
## 2026-01-12 15:30:32
4+
### Changes
5+
Based on:
6+
- OpenAPI Doc
7+
- Speakeasy CLI 1.606.10 (2.687.13) https://github.com/speakeasy-api/speakeasy
8+
### Generated
9+
- [python v1.7.0] packages/mistralai_azure
10+
### Releases
11+
- [PyPI v1.7.0] https://pypi.org/project/mistralai_azure/1.7.0 - packages/mistralai_azure

packages/mistralai_azure/docs/models/chatcompletionrequest.md

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

packages/mistralai_azure/docs/models/chatcompletionrequesttoolchoice.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# ChatCompletionRequestToolChoice
22

3+
Controls which (if any) tool is called by the model. `none` means the model will not call any tool and instead generates a message. `auto` means the model can pick between generating a message or calling one or more tools. `any` or `required` means the model must call one or more tools. Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
4+
35

46
## Supported Types
57

packages/mistralai_azure/docs/models/chatcompletionstreamrequest.md

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

packages/mistralai_azure/docs/models/chatcompletionstreamrequesttoolchoice.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# ChatCompletionStreamRequestToolChoice
22

3+
Controls which (if any) tool is called by the model. `none` means the model will not call any tool and instead generates a message. `auto` means the model can pick between generating a message or calling one or more tools. `any` or `required` means the model must call one or more tools. Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
4+
35

46
## Supported Types
57

packages/mistralai_azure/docs/models/ocrrequest.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
8-
| `model` | *Nullable[str]* | :heavy_check_mark: | N/A |
9-
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A |
10-
| `document` | [models.Document](../models/document.md) | :heavy_check_mark: | Document to run OCR on |
11-
| `pages` | List[*int*] | :heavy_minus_sign: | Specific pages user wants to process in various formats: single number, range, or list of both. Starts from 0 |
12-
| `include_image_base64` | *OptionalNullable[bool]* | :heavy_minus_sign: | Include image URLs in response |
13-
| `image_limit` | *OptionalNullable[int]* | :heavy_minus_sign: | Max images to extract |
14-
| `image_min_size` | *OptionalNullable[int]* | :heavy_minus_sign: | Minimum height and width of image to extract |
15-
| `bbox_annotation_format` | [OptionalNullable[models.ResponseFormat]](../models/responseformat.md) | :heavy_minus_sign: | Structured output class for extracting useful information from each extracted bounding box / image from document. Only json_schema is valid for this field |
16-
| `document_annotation_format` | [OptionalNullable[models.ResponseFormat]](../models/responseformat.md) | :heavy_minus_sign: | Structured output class for extracting useful information from the entire document. Only json_schema is valid for this field |
6+
| Field | Type | Required | Description | Example |
7+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `model` | *Nullable[str]* | :heavy_check_mark: | N/A | |
9+
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | |
10+
| `document` | [models.Document](../models/document.md) | :heavy_check_mark: | Document to run OCR on | |
11+
| `pages` | List[*int*] | :heavy_minus_sign: | Specific pages user wants to process in various formats: single number, range, or list of both. Starts from 0 | |
12+
| `include_image_base64` | *OptionalNullable[bool]* | :heavy_minus_sign: | Include image URLs in response | |
13+
| `image_limit` | *OptionalNullable[int]* | :heavy_minus_sign: | Max images to extract | |
14+
| `image_min_size` | *OptionalNullable[int]* | :heavy_minus_sign: | Minimum height and width of image to extract | |
15+
| `bbox_annotation_format` | [OptionalNullable[models.ResponseFormat]](../models/responseformat.md) | :heavy_minus_sign: | Structured output class for extracting useful information from each extracted bounding box / image from document. Only json_schema is valid for this field | {<br/>"type": "text"<br/>} |
16+
| `document_annotation_format` | [OptionalNullable[models.ResponseFormat]](../models/responseformat.md) | :heavy_minus_sign: | Structured output class for extracting useful information from the entire document. Only json_schema is valid for this field | {<br/>"type": "text"<br/>} |

packages/mistralai_azure/docs/models/prediction.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Prediction
22

3+
Enable users to specify an expected completion, optimizing response times by leveraging known or predictable content.
4+
35

46
## Fields
57

0 commit comments

Comments
 (0)