fix: update magistral-medium-latest capabilities to 128k context and image support

- Updated maxTokens from 41,000 to 128,000
- Updated contextWindow from 41,000 to 128,000
- Enabled image support (supportsImages: true)
- Reflects current Magistral Medium 2.0 capabilities per Mistral documentation

Fixes #8362
This commit is contained in:
Roo Code 2025-09-29 13:26:10 +00:00
parent ded23b72b7
commit fd234ff04e

View file

@ -7,9 +7,9 @@ export const mistralDefaultModelId: MistralModelId = "codestral-latest"
export const mistralModels = {
"magistral-medium-latest": {
maxTokens: 41_000,
contextWindow: 41_000,
supportsImages: false,
maxTokens: 128_000,
contextWindow: 128_000,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 2.0,
outputPrice: 5.0,