Skip to content

fix(models): correct Codestral 2508 context window - #1711

Open
Vinsy Moyya (vinsymoyya) wants to merge 1 commit into
braintrustdata:mainfrom
vinsymoyya:fix/codestral-2508-context-window
Open

Vinsy Moyya (vinsymoyya) wants to merge 1 commit into
braintrustdata:mainfrom
vinsymoyya:fix/codestral-2508-context-window

Conversation

@vinsymoyya

@vinsymoyya Vinsy Moyya (vinsymoyya) commented Nov 3, 2026 •

Copy link
Copy Markdown

Fixes #745.

Correct codestral-2508.max_input_tokens from 256,000 to 128,000. Mistral's current Codestral 25.08 model card documents a 128K context window; the existing codestral-latest entry already uses 128,000.

Only this field changes. Pricing, provider availability, parent references, and all other catalog entries are preserved. This follows the model_list.json exception in AGENTS.md.

Validation on Node.js 24.22.1, with the frozen lockfile and pnpm 10.33.0 (proxy and root test-tool workspaces):

  • vitest run packages/proxy/schema/models.test.ts --pool=threads --maxWorkers=1 --no-file-parallelism --reporter=verbose: 26 passed.
  • All 1,471 catalog entries validate against the built ModelSchema; the built public getAvailableModels() API returns 128,000 for codestral-2508.
  • A direct assertion for the documented value fails on the original catalog and passes after correction. A full parsed-JSON comparison against base commit 70286c232c3ab2df61f5894a0a8ba1044c8712e4 confirms every other catalog value is unchanged.
  • git diff --check passes; the working tree is clean.

The proxy build produced all CJS/ESM bundles and schema declarations, but was interrupted during the remaining package declaration generation. A complete package build or full test-suite pass is not claimed. No model API calls were made.

Hosted Enforce pnpm, lint, and js workflows currently report action_required and need maintainer approval before execution.

AI assistance: OpenAI Codex helped research, implement, and validate this correction.

@vercel

vercel Bot commented Nov 3, 2026

Copy link
Copy Markdown

Vinsy Moyya (@vinsymoyya) is attempting to deploy a commit to the Braintrust Team on Vercel.

A member of the Team first needs to authorize it.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T00:01:44.137193Z b9f46f6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant