Repository navigation
chore(cost-map): add Mistral retirement dates for nine models - #54976
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
|
PR overviewNo security issues were found in this pull request. Reviews
|
|
bugbot run |
[Medium impact] This PR appears safe to merge.
|
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit cd1f8f4. Configure here.
Handwritten 1-3 sentence description
Adds Mistral's published retirement dates, successors and source URL to nine Mistral model IDs so the deprecations endpoint from #26900 reports them. No prices, token limits or capability flags change.
Caveats
Low
Details
Link to Devin session: https://app.devin.ai/sessions/a53072c78dba4e718c07b44e97cf3979
Open in Devin Desktop: https://app.devin.ai/desktop/session/a53072c78dba4e718c07b44e97cf3979?variant=devin
Requested by: scheduled registry audit automation
TLDR
Problem this solves:
How it solves it:
User Flow
Before: an administrator gets no retirement notice for the configured Mistral Medium alias.
mistral/mistral-medium-latestwithout a date override.GET http://localhost:4000/model/deprecationswith the master key and find no entry for that deployment.After: the administrator can see when to move off the alias and what to use next.
mistral/mistral-large-4for the deployment.Provider sources
Each row below comes from the retirement table in Mistral's model catalog. IDs are shown without the LiteLLM
mistral/prefix.devstral-small-latestmistral-medium-3-5pixtral-large-latestmistral-medium-3-5devstral-latest,devstral-medium-latestmistral-medium-3-5open-mistral-nemoministral-8b-2512glm-5-2zai-glm-5-3mistral-medium-latestmistral-large-4voxtral-mini-latestvoxtral-mini-transcribe-3-0voxtral-mini-realtime-latestvoxtral-mini-transcribe-realtime-3-0The raw source snapshots were also checked against registry entries for OpenAI, Anthropic, Gemini, Vertex, Bedrock, Azure, Fireworks, Groq, xAI, Cohere, and DeepSeek. No billing, limit, or capability edits are included.
Values left alone
or laterdates were not treated as announced retirement dates.No other registry PR was absorbed. #54263 and #39907 add providers and were left alone. No open issue found in the model searches describes these retirement gaps.
Pre-Submission checklist
Screenshots / Proof of Fix
E2E exception at
cd1f8f4f9c7ee02c01aefbaeb370fdb371e181ae. This is a registry-only correction. The existing deployment lookup reads these three fields from the model cost map and does not call the model provider. No request translation, routing code, or billing changed.At the base, all four tested aliases lacked
deprecation_datewhile their versioned rows had a date. The nine updated rows now each carry a source and a replacement that resolves to an existing Mistral model row.The Rust
check-registrycommand and the test-tree Ruff lint check both exited successfully. The only whole-file Ruff formatting difference was already present on the base.Type
Bug Fix
Note
Low Risk
Metadata-only updates to the model registry with a focused regression test; no routing, billing, or runtime behavior changes.
Overview
Adds
successor_model,deprecation_date, anddeprecation_sourceto nine Mistral cost-map rows (devstral family,glm-5-2,mistral-medium-latest,open-mistral-nemo,pixtral-large-latest, and two voxtral aliases), mirroring Mistral’s documented schedule so the model deprecations API can surface retirement dates and replacements. Pricing, limits, and capability flags are unchanged; bothmodel_prices_and_context_window.jsonand its backup stay in sync.A new parametrized unit test asserts four
-latest/alias Mistral IDs share the same deprecation date and successor as their pinned version rows.Reviewed by Cursor Bugbot for commit cd1f8f4. Bugbot is set up for automated code reviews on this repo. Configure here.