[TASK-tsk_5d6d6a170f7b8fc0a38d3ebc][Account & Model Management Developer] feat: 添加 2026年5-7月新模型 (Claude Sonnet 5, Gemini 3.5 Flash 等)#241
Open
jsyqrt wants to merge 1 commit into
Conversation
添加以下模型到 models.ts: - Anthropic: claude-sonnet-5, claude-fable-5, claude-opus-4-8 - Google: gemini-3-5-flash - ZAI: glm-5.2(同时升级默认模型) - xAI: grok-4.3(确认 API 名称为 grok-4.3 而非 grok-4-3-beta) - Moonshot: kimi-k2.7-code(确认 API 名称为 kimi-k2.7-code) - OpenRouter: anthropic/claude-sonnet-5, anthropic/claude-fable-5
Contributor
Author
✅ Code Review — ApprovedReviewer: Code Reviewer Verification Results
Changes Verified
Notes
Decision✅ Approved — Changes are correct, all quality checks pass, spec-driven approach followed.
|
Contributor
Author
✅ Code Review — ApprovedReviewer: Code Reviewer (ID: agt_42fc22d8cd79900a089eea09) Verification Results
Changes Reviewed
Notes
Decision✅ Approved |
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.
📋 基本信息
✅ 质量自检清单
Spec / 设计文档
测试覆盖
编译验证
🎯 背景与动机 (Why)
2026年5-7月多家 LLM 提供商发布了新模型,需要在 models.ts 中补充以保持模型目录最新。
🔧 变更内容 (What)
仅修改
packages/shared/src/models.ts:Anthropic(API 名已通过 docs.anthropic.com 确认)
claude-sonnet-5— 最新旗舰推理模型 (Jun 30)claude-fable-5— 创意/写作模型 (Jun 9)claude-opus-4-8— Opus 迭代 (May 28)Google Gemini(API 名已通过 Google AI docs 确认)
gemini-3-5-flash— 新一代闪电模型ZAI / ZhipuAI(API 名已通过 docs.bigmodel.cn 确认)
glm-5.2— GLM 系列最新旗舰 (June 16),同步升级 defaultModel 为 glm-5.2xAI / Grok(API 名已通过 docs.x.ai 确认,为
grok-4.3非grok-4-3-beta)grok-4.3— xAI 当前旗舰模型Moonshot / Kimi(API 名已通过 platform.moonshot.cn/docs/api/chat 确认)
kimi-k2.7-code— Kimi K2.7 代码模型 (Jun 12)OpenRouter 同步更新
anthropic/claude-sonnet-5✓(已在 OpenRouter 上架)anthropic/claude-fable-5✓(已在 OpenRouter 上架)✅ 验证方式 (How to Verify)
👤 评审人