chore: 🐝 Update SDK - Generate MISTRALAI-GCP-SDK 2.0.0#166
Merged
Conversation
* `mistralgooglecloud.chat.complete()`: * `request` **Changed** **Breaking**⚠️ * `response` **Changed** * `mistralgooglecloud.fim.complete()`: * `request.metadata` **Added** * `response` **Changed**
mfbx9da4
reviewed
Jan 20, 2026
| export const MistralPromptMode = { | ||
| Reasoning: "reasoning", | ||
| } as const; | ||
| export type MistralPromptMode = OpenEnum<typeof MistralPromptMode>; |
mfbx9da4
reviewed
Jan 20, 2026
| } from "./systemmessagecontentchunks.js"; | ||
|
|
||
| export type SystemMessageContent = string | Array<TextChunk>; | ||
| export type SystemMessageContent = string | Array<SystemMessageContentChunks>; |
mfbx9da4
reviewed
Jan 20, 2026
|
|
||
| export type SystemMessageContentChunks = | ||
| | (TextChunk & { type: "text" }) | ||
| | (ThinkChunk & { type: "thinking" }); |
There was a problem hiding this comment.
const myTextChunk: TextChunk = { text: 'asdf' }After having been merged with the discriminator
export type TextChunk = {
text: string;
type: "text";
};Before
export type TextChunk = {
text: string;
type?: TextChunkType | undefined;
};
export const TextChunkType = {
Text: "text",
} as const;
export type TextChunkType = ClosedEnum<typeof TextChunkType>;There was a problem hiding this comment.
- export type SystemMessageContent = string | Array<TextChunk>;
+ export type SystemMessageContent = string | Array<SystemMessageContentChunks>;
mfbx9da4
reviewed
Jan 20, 2026
| author: Speakeasy | ||
| baseErrorName: MistralGoogleCloudError | ||
| clientServerStatusCodesAsErrors: true | ||
| constFieldsAlwaysOptional: false |
There was a problem hiding this comment.
I would recommend having this as true
mfbx9da4
approved these changes
Jan 20, 2026
mfbx9da4
approved these changes
Jan 20, 2026
dumontg
approved these changes
Jan 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Linting report available at: https://app.speakeasy.com/org/mistral-dev/mistral-dev/linting-report/eccac86ae3245bb7b29523a2094805a7
OpenAPI Change report available at: https://app.speakeasy.com/org/mistral-dev/mistral-dev/changes-report/96afef4aa138b1fe8c61bdcc948ed175
SDK update
Versioning
Version Bump Type: [major] - 🤖 (automated)
SDK Changes Detected:
mistralgooglecloud.chat.complete():requestChanged BreakingresponseChangedmistralgooglecloud.fim.complete():request.metadataAddedresponseChangedOpenAPI Change Summary
TYPESCRIPT CHANGELOG
constsAndDefaults: 0.1.12 - 2025-06-11
🐛 Bug Fixes
core: 3.21.20 - 2025-08-06
🐛 Bug Fixes
core: 3.21.19 - 2025-08-01
🐛 Bug Fixes
core: 3.21.18 - 2025-07-31
🐛 Bug Fixes
core: 3.21.17 - 2025-07-30
🐛 Bug Fixes
core: 3.21.16 - 2025-07-24
🔧 Chores
core: 3.21.15 - 2025-07-15
🐛 Bug Fixes
core: 3.21.14 - 2025-07-09
🐛 Bug Fixes
core: 3.21.13 - 2025-07-03
🐛 Bug Fixes
core: 3.21.12 - 2025-07-03
🐛 Bug Fixes
core: 3.21.11 - 2025-06-09
🐛 Bug Fixes
core: 3.21.10 - 2025-05-30
🐛 Bug Fixes
core: 3.21.9 - 2025-05-19
🐛 Bug Fixes
core: 3.21.8 - 2025-05-07
🐛 Bug Fixes
core: 3.21.7 - 2025-04-30
🐛 Bug Fixes
core: 3.21.6 - 2025-04-11
🐛 Bug Fixes
core: 3.21.5 - 2025-04-03
🐛 Bug Fixes
examples: 2.82.3 - 2025-08-11
🐝 New Features
examples: 2.83.0 - 2025-08-05
🐝 New Features
examples: 2.82.1 - 2025-07-08
🐛 Bug Fixes
globalServerURLs: 2.82.5 - 2025-05-09
🐛 Bug Fixes
sdkHooks: 0.3.0 - 2025-05-21
🐝 New Features
serverEvents: 0.1.8 - 2025-08-01
🐛 Bug Fixes
serverEvents: 0.1.7 - 2025-07-31
🐛 Bug Fixes
serverEvents: 0.1.6 - 2025-07-10
🐛 Bug Fixes
unions: 2.85.11 - 2025-06-19
🐛 Bug Fixes
unions: 2.85.10 - 2025-06-13
🐛 Bug Fixes
unions: 2.85.9 - 2025-06-05
🐛 Bug Fixes
Based on Speakeasy CLI 1.606.10