Mistral `codestral-2508` has incorrect context window (256K → 128K)

Open Beginner friendly
#745 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
92/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
typescript
Domain
api, backend

Research direction

Open packages/proxy/schema/model_list.json around lines 5059-5077 and compare the codestral-2508 entry with codestral-latest and codestral-2501. Change only the incorrect max_input_tokens value to 128000, then run the repository's relevant validation or schema tests to confirm the catalog remains valid.

Written by the indexing model from the issue text.

Description

Summary

The codestral-2508 entry in the model catalog has max_input_tokens: 256000, but Mistral's official documentation lists the context window as 128K tokens. The parent entry codestral-latest already has the correct value of 128000.

Current vs Expected

Field Current Expected Source
max_input_tokens 256,000 128,000 Mistral model card

Affected entries

  • codestral-2508 at packages/proxy/schema/model_list.json line 5077

Notes

  • The parent entry codestral-latest (line 5059) already has the correct max_input_tokens: 128000
  • The sibling entry codestral-2501 (line 5070) inherits from the parent and is also correct
  • Only codestral-2508 explicitly overrides max_input_tokens to the incorrect value of 256000

Verification

Dominant language
TypeScript
Stars
410
Forks
65
Avg merge
18h 29m
Merged PRs (30d)
51

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from braintrustdata/braintrust-proxy

All issues in braintrustdata/braintrust-proxy

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.