feat: add recent AI models (GPT Image 2, Claude Opus 4.7, Qwen3.6, DeepSeek V4 Pro[1M], Kimi K2.6, Grok 4.20, MiMo V2.5)#592
Closed
wahajahmed010 wants to merge 1 commit into
Conversation
…epSeek V4 Pro[1M], Kimi K2.6, Grok 4.20, MiMo V2.5)
- OpenAI: gpt-5.4-pro, gpt-image-2 variants, chatgpt-image-latest
- Anthropic: claude-opus-4-7
- Qwen: qwen3.6-max-preview, qwen3.6-plus variants, qwen3.6-flash variants, qwen3.6-35b-a3b
- Qwen Image: qwen-image-2.0-pro variants, qwen-image-2.0 variants
- DeepSeek: deepseek-v4-pro[1m] (1M context variant)
- Kimi: kimi-k2.6
- xAI/Grok: grok-4.20-reasoning, grok-4.20, grok-4.20-multi-agent
- Xiaomi MiMo: mimo-v2.5-pro, mimo-v2.5
- Tencent Hunyuan: hy3-preview (already present, clarified in docs)
Server-configured *_MODELS already preserves unknown model IDs via synthetic
{ id, name } entries in lib/store/settings.ts, so no code changes needed there.
See THU-MAIC#480
83dc49f to
2503dd6
Compare
Contributor
|
Apologies @wahajahmed010 — the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refreshes the built-in provider/model registry with recent AI model releases and clarifies server-config extensibility.
Changes
New models added:
gpt-5.4-pro,gpt-image-2,gpt-image-2-2026-04-21,gpt-image-1.5,gpt-image-1,gpt-image-1-mini,chatgpt-image-latestclaude-opus-4-7qwen3.6-max-preview,qwen3.6-plus,qwen3.6-plus-2026-04-02,qwen3.6-flash,qwen3.6-flash-2026-04-16,qwen3.6-35b-a3bqwen-image-2.0-pro,qwen-image-2.0-pro-2026-03-03,qwen-image-2.0,qwen-image-2.0-2026-03-03deepseek-v4-pro[1m](1M context variant)kimi-k2.6grok-4.20-reasoning,grok-4.20,grok-4.20-multi-agentmimo-v2.5-pro,mimo-v2.5Documentation:
.env.examplewith example model lists for each providerHY3is a model name (Tencent Hunyuan), not a provider prefixServer-config extensibility:
The existing implementation in
lib/store/settings.tsalready preserves unknown server-provided model IDs from*_MODELSenvironment variables or YAML config as synthetic{ id, name }entries. This means:QWEN_MODELS=qwen3.7-new-model, it will appear in the UI even if not in the built-in registryTesting
info.models.map(id => currentModelMap.get(id) ?? { id, name: id })patternRelated
Checklist
.env.exampleupdated with example model lists