Skip to content

[BUG] Mistral AI codestral-latest Context Window is incorrect #9344

@machinekoder

Description

@machinekoder

Problem (one or two sentences)

Expected: 128k token context window according to official docs
currently in Roo Code: 256k token limit

screenshot from official docs:
Image

Context (who is affected and when)

Mistral Codestral Provioder

Reproduction steps

Create a Mistral Provider
Select Codestral-latest as Model

Expected result

128k context limit

Actual result

256k context limit

Variations tried (optional)

No response

App Version

latest

API Provider (optional)

Mistral AI

Model Used (optional)

codestral-latest

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Issue [In Progress]

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions