Skip to content

Commit 1119030

Browse files
committed
fix: correct magistral-medium-latest model configuration
- Fixed context window from 41k to 128k tokens - Added supportsReasoningContent flag for proper reasoning formatting - This addresses issues with reasoning content display and context limits Fixes #7451
1 parent c479678 commit 1119030

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/types/src/providers/mistral.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ export const mistralDefaultModelId: MistralModelId = "codestral-latest"
77

88
export const mistralModels = {
99
"magistral-medium-latest": {
10-
maxTokens: 41_000,
11-
contextWindow: 41_000,
10+
maxTokens: 128_000,
11+
contextWindow: 128_000,
1212
supportsImages: false,
1313
supportsPromptCache: false,
14+
supportsReasoningBudget: true,
1415
inputPrice: 2.0,
1516
outputPrice: 5.0,
1617
},

0 commit comments

Comments
 (0)