You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main `mistralai` package now bundles Azure and GCP support. You can also install `mistralai-azure` or `mistralai-gcp` as standalone distributions.
53
50
54
-
Azure and GCP are now standalone distributions that can be installed independently of the core SDK. The `mistralai[azure]` and `mistralai[gcp]` extras are syntactic sugar that pull in the respective distributions.
51
+
For GCP authentication dependencies, use `pip install "mistralai[gcp]"`.
55
52
56
53
### What Stays the Same
57
54
58
55
- The `Mistral` client API is unchanged
59
56
- All models (`UserMessage`, `AssistantMessage`, etc.) work the same way
60
57
61
-
### Type Name Changes
62
-
63
-
Some type names have been updated for clarity and consistency:
This affects all operation-specific request/response types. Core models like `UserMessage`, `ChatCompletionRequest`, etc. are unchanged.
58
+
### Enums
84
59
85
60
Enums now accept unknown values for forward compatibility with API changes.
86
61
@@ -90,6 +65,8 @@ Enums now accept unknown values for forward compatibility with API changes.
90
65
91
66
Version 1.0 introduced significant changes to improve usability and consistency.
92
67
68
+
> **Note:** The v1.x examples below use v1-style imports (e.g., `from mistralai import Mistral`). If you're on v2.x, combine these API changes with the [v1 to v2 import changes](#migrating-from-v1x-to-v2x) above.
69
+
93
70
### Major Changes
94
71
95
72
1.**Unified Client Class**: `MistralClient` and `MistralAsyncClient` consolidated into a single `Mistral` class
0 commit comments