Repository navigation
fix(models): correct the model catalogue against vendor documentation #1376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -89,7 +89,7 @@ export enum BedrockModels { | |
| // ============================================================================ | ||
|
|
||
| // Claude 4.6 Series (Latest - February 2026) | ||
| CLAUDE_4_6_OPUS = "anthropic.claude-opus-4-6-v1:0", | ||
| CLAUDE_4_6_OPUS = "anthropic.claude-opus-4-6-v1", | ||
| CLAUDE_4_6_SONNET = "anthropic.claude-sonnet-4-6", | ||
|
|
||
| // Claude 4.5 Series (September-November 2025) | ||
|
|
@@ -378,6 +378,13 @@ export enum AzureOpenAIModels { | |
| GPT_5_CHAT = "gpt-5-chat", | ||
| GPT_5_CODEX = "gpt-5-codex", | ||
| GPT_5_PRO = "gpt-5-pro", | ||
| /** | ||
| * @deprecated No such model exists on Azure OpenAI. "Turbo" was a GPT-3.5 and | ||
| * GPT-4 era suffix and was never carried into the GPT-5 family; the real | ||
| * series is gpt-5 / gpt-5-mini / gpt-5-nano / gpt-5-chat / gpt-5-codex / | ||
| * gpt-5-pro. Deploying this id fails. Kept only so existing code still | ||
| * compiles — scheduled for removal in the next major. Use GPT_5 instead. | ||
| */ | ||
| GPT_5_TURBO = "gpt-5-turbo", | ||
|
|
||
| // O-Series Reasoning Models | ||
|
|
@@ -521,11 +528,22 @@ export enum GoogleAIModels { | |
| /** | ||
| * Supported Models for Anthropic (Direct API) | ||
| */ | ||
| // Model states below track Anthropic's own status table at | ||
| // platform.claude.com/docs/en/about-claude/model-deprecations. Those dates | ||
| // cover Anthropic-operated platforms only — Amazon Bedrock and Google Cloud | ||
| // set their own retirement schedules, so BedrockModels/VertexModels entries | ||
| // are NOT retired just because the direct-API twin is. | ||
| export enum AnthropicModels { | ||
| // Claude 5 Series (mid 2026) — see MODEL_CONTEXT_WINDOWS.anthropic | ||
| // (src/lib/constants/contextWindows.ts) for the 1M context window this id | ||
| // already carries there. | ||
| // Claude 5 Series (mid 2026). MODEL_CONTEXT_WINDOWS.anthropic | ||
| // (src/lib/constants/contextWindows.ts) already carries the 1M window | ||
| // these ids resolve to. | ||
| CLAUDE_OPUS_5 = "claude-opus-5", | ||
| CLAUDE_SONNET_5 = "claude-sonnet-5", | ||
| CLAUDE_FABLE_5 = "claude-fable-5", | ||
|
|
||
| // Claude 4.7 / 4.8 Series | ||
| CLAUDE_OPUS_4_8 = "claude-opus-4-8", | ||
| CLAUDE_OPUS_4_7 = "claude-opus-4-7", | ||
|
|
||
| // Claude 4.6 Series (February 2026) | ||
| CLAUDE_OPUS_4_6 = "claude-opus-4-6", | ||
|
|
@@ -537,10 +555,13 @@ export enum AnthropicModels { | |
| CLAUDE_4_5_HAIKU = "claude-haiku-4-5-20251001", | ||
|
|
||
| // Claude 4.1 Series (Legacy) | ||
| /** @deprecated Retired from the Claude API on August 5, 2026. Use CLAUDE_OPUS_4_8 instead. */ | ||
| CLAUDE_OPUS_4_1 = "claude-opus-4-1-20250805", | ||
|
|
||
| // Claude 4.0 Series (Legacy) | ||
| /** @deprecated Retired from the Claude API on June 15, 2026. Use CLAUDE_OPUS_4_8 instead. */ | ||
| CLAUDE_OPUS_4_0 = "claude-opus-4-20250514", | ||
| /** @deprecated Retired from the Claude API on June 15, 2026. Use CLAUDE_SONNET_4_6 instead. */ | ||
| CLAUDE_SONNET_4_0 = "claude-sonnet-4-20250514", | ||
|
|
||
| // Claude 3.7 Series (Legacy) | ||
|
|
@@ -596,8 +617,18 @@ export enum MistralModels { | |
| DEVSTRAL_MEDIUM_LATEST = "devstral-medium-latest", | ||
| DEVSTRAL_SMALL_LATEST = "devstral-small-latest", | ||
|
|
||
| // Pixtral (Multimodal/Vision) | ||
| // Pixtral (Multimodal/Vision) — both retired by Mistral. | ||
| /** | ||
| * @deprecated Retired by Mistral on 2026-05-31. The id is also wrong: the | ||
| * API string was `pixtral-large-2411`, and Mistral publishes no dateless | ||
| * `pixtral-large` alias. Use MISTRAL_MEDIUM_LATEST instead. | ||
| */ | ||
| PIXTRAL_LARGE = "pixtral-large", | ||
|
Comment on lines
+622
to
626
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in 3b632bb: the Pixtral Large MODEL_REGISTRY entry is now deprecated: true, so models list hides it by default, and it was removed from the Mistral CLI top choices and from the multimodal recommendations. |
||
| /** | ||
| * @deprecated Retired by Mistral on 2025-12-31. The API string was | ||
| * `pixtral-12b-2409`; no dateless alias is published. Mistral recommends | ||
|
Comment on lines
+622
to
+629
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -e
printf '%s\n' '--- enum context ---'
sed -n '600,645p' src/lib/constants/enums.ts
printf '%s\n' '--- Pixtral references ---'
rg -n -C 3 'PIXTRAL|pixtral-(large|12b)|Pixtral' src
printf '%s\n' '--- cited documentation ---'
curl -L --max-time 20 -sS 'https://docs.mistral.ai/models/model-cards/pixtral-large-24-11' \
| tr '\n' ' ' \
| grep -Eo '.{0,180}(February 27, 2026|February 27|May 31, 2026|deprecat|retir).{0,240}' \
| head -20 || trueRepository: juspay/neurolink Length of output: 16475 🌐 Web query:
💡 Result: Both Mistral Pixtral Large 24-11 and Pixtral 12B 24-09 have been officially deprecated by Mistral AI, with specific deprecation dates assigned to their API access [1][2]. 1. Mistral Pixtral Large (24-11): - Deprecation Date: February 27, 2026 [1]. - Recommended Replacement: Mistral Medium 3.5 [1]. 2. Pixtral 12B (24-09): - Deprecation Date: December 2, 2025 [2]. - Recommended Replacement: Ministral 3 14B [2]. These models were marked as deprecated in Mistral AI's official model documentation, meaning they are no longer actively maintained and users are encouraged to migrate to the suggested newer models to ensure continued performance and support [1][2][3]. While API support for these specific versions is scheduled for sunsetting on the dates listed above, the open weights for these models generally remain accessible on platforms such as Hugging Face for self-hosting purposes [4][3][5]. Citations:
Correct the Mistral deprecation dates and terminology. Use February 27, 2026 for Pixtral Large and December 2, 2025 for Pixtral 12B. Use 🤖 Prompt for AI Agents |
||
| * Ministral 3 14B as the replacement. | ||
| */ | ||
| PIXTRAL_12B = "pixtral-12b", | ||
|
|
||
| // Voxtral (Audio) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 3b632bb, which removed gpt-5-turbo from the Azure vision allowlist; the Azure manifest entry for it is also vision false, so supportsVision for azure and gpt-5-turbo now returns false.