Skip to content

Commit 379b180

Browse files
Nelson-PROIAclaude
andcommitted
feat: regenerate Azure/GCP SDKs as PEP 420 namespace packages (v2.0.0a1)
Regenerate both Azure and GCP SDKs under the new namespace structure: - mistralai.azure.client (was mistralai_azure) - mistralai.gcp.client (was mistralai_gcp) Both SDKs are now bundled into the single mistralai wheel. Old mistralai_azure and mistralai_gcp flat packages are removed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 51a6464 commit 379b180

File tree

217 files changed

+1653
-1317
lines changed

Some content is hidden

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

217 files changed

+1653
-1317
lines changed

.speakeasy/workflow.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ targets:
2525
sourceRevisionDigest: sha256:d303e640ad565cc8a9801519b20dc7eab226efdfdab951c11256962d9e479f74
2626
sourceBlobDigest: sha256:6e4c789de61b2c9c604bf581e0abbadae90e360491d95ec4247678f4f70cee87
2727
codeSamplesNamespace: mistral-openapi-azure-code-samples
28-
codeSamplesRevisionDigest: sha256:0109302b87fa17b0103ef1e372fae76356811b3c552103e659bd5373d537d759
28+
codeSamplesRevisionDigest: sha256:6b0ef8075c41e8ee28479f76d20271d9b7734bd04f820937c4a72acbb576df6b
2929
mistralai-gcp-sdk:
3030
source: mistral-google-cloud-source
3131
sourceNamespace: mistral-openapi-google-cloud
3232
sourceRevisionDigest: sha256:351c4d392b8b2220c337a207e98ed5665ed27fd85de854871a70c4bc2b9c0784
3333
sourceBlobDigest: sha256:d79b21f70efb93b0cd261d2044939a288beaf8707a7caae86aca5c4d5de3821b
3434
codeSamplesNamespace: mistral-openapi-google-cloud-code-samples
35-
codeSamplesRevisionDigest: sha256:09bb7cbf291076170d228116db05d1c9606af541b301b6564609c4d76633258a
35+
codeSamplesRevisionDigest: sha256:ef1d26f73d2325533707882244cf1ce6491c545ed7409098e989becc7d1c5be8
3636
mistralai-sdk:
3737
source: mistral-openapi
3838
sourceNamespace: mistral-openapi

packages/mistralai_azure/.speakeasy/gen.lock

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

packages/mistralai_azure/docs/models/assistantmessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
| `content` | [OptionalNullable[models.AssistantMessageContent]](../models/assistantmessagecontent.md) | :heavy_minus_sign: | N/A |
99
| `tool_calls` | List[[models.ToolCall](../models/toolcall.md)] | :heavy_minus_sign: | N/A |
1010
| `prefix` | *Optional[bool]* | :heavy_minus_sign: | Set this to `true` when adding an assistant message as prefix to condition the model response. The role of the prefix message is to force the model to start its answer by the content of the message. |
11-
| `role` | [Optional[models.AssistantMessageRole]](../models/assistantmessagerole.md) | :heavy_minus_sign: | N/A |
11+
| `role` | [Optional[models.RoleEnum]](../models/roleenum.md) | :heavy_minus_sign: | N/A |

packages/mistralai_azure/docs/models/chatcompletionrequest.md

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/mistralai_azure/docs/models/messages.md renamed to packages/mistralai_azure/docs/models/chatcompletionrequestmessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Messages
1+
# ChatCompletionRequestMessage
22

33

44
## Supported Types

packages/mistralai_azure/docs/models/chatcompletionstreamrequest.md

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

packages/mistralai_azure/docs/models/chatcompletionrequestmessages.md renamed to packages/mistralai_azure/docs/models/chatcompletionstreamrequestmessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ChatCompletionRequestMessages
1+
# ChatCompletionStreamRequestMessage
22

33

44
## Supported Types

packages/mistralai_gcp/docs/models/stop.md renamed to packages/mistralai_azure/docs/models/chatcompletionstreamrequeststop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Stop
1+
# ChatCompletionStreamRequestStop
22

33
Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
44

packages/mistralai_azure/docs/models/completionresponsestreamchoice.md

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

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
8-
| `index` | *int* | :heavy_check_mark: | N/A |
9-
| `delta` | [models.DeltaMessage](../models/deltamessage.md) | :heavy_check_mark: | N/A |
10-
| `finish_reason` | [Nullable[models.FinishReason]](../models/finishreason.md) | :heavy_check_mark: | N/A |
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
8+
| `index` | *int* | :heavy_check_mark: | N/A |
9+
| `delta` | [models.DeltaMessage](../models/deltamessage.md) | :heavy_check_mark: | N/A |
10+
| `finish_reason` | [Nullable[models.CompletionResponseStreamChoiceFinishReason]](../models/completionresponsestreamchoicefinishreason.md) | :heavy_check_mark: | N/A |

packages/mistralai_gcp/docs/models/finishreason.md renamed to packages/mistralai_azure/docs/models/completionresponsestreamchoicefinishreason.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# FinishReason
1+
# CompletionResponseStreamChoiceFinishReason
22

33

44
## Values

0 commit comments

Comments
 (0)