From b55c23ebd9f58e94214c57467f663cb0c803f56f Mon Sep 17 00:00:00 2001 From: 7418 <7418@openclaw.ai> Date: Thu, 26 Feb 2026 10:50:14 +0800 Subject: [PATCH] fix: update GLM and MiniMax model labels to latest versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - GLM: opus 槽位从 GLM-4.7 改为 GLM-5,使 Max 套餐用户可以选择 GLM-5; sonnet 保持 GLM-4.7 供普通套餐用户使用,haiku 保持 GLM-4.5-Air。 两个 URL(z.ai 国际区 + bigmodel.cn 国内区)同步更新。 - MiniMax: 所有槽位从 MiniMax-M2.1 更新为 MiniMax-M2.5, 两个 URL(minimax.io 国际区 + minimaxi.com 国内区)同步更新。 Co-Authored-By: Claude Opus 4.6 --- src/app/api/providers/models/route.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/api/providers/models/route.ts b/src/app/api/providers/models/route.ts index feb3712..307cc34 100644 --- a/src/app/api/providers/models/route.ts +++ b/src/app/api/providers/models/route.ts @@ -13,12 +13,12 @@ const DEFAULT_MODELS = [ const PROVIDER_MODEL_LABELS: Record = { 'https://api.z.ai/api/anthropic': [ { value: 'sonnet', label: 'GLM-4.7' }, - { value: 'opus', label: 'GLM-4.7' }, + { value: 'opus', label: 'GLM-5' }, { value: 'haiku', label: 'GLM-4.5-Air' }, ], 'https://open.bigmodel.cn/api/anthropic': [ { value: 'sonnet', label: 'GLM-4.7' }, - { value: 'opus', label: 'GLM-4.7' }, + { value: 'opus', label: 'GLM-5' }, { value: 'haiku', label: 'GLM-4.5-Air' }, ], 'https://api.kimi.com/coding/': [ @@ -37,14 +37,14 @@ const PROVIDER_MODEL_LABELS: Record { value: 'haiku', label: 'Kimi K2.5' }, ], 'https://api.minimaxi.com/anthropic': [ - { value: 'sonnet', label: 'MiniMax-M2.1' }, - { value: 'opus', label: 'MiniMax-M2.1' }, - { value: 'haiku', label: 'MiniMax-M2.1' }, + { value: 'sonnet', label: 'MiniMax-M2.5' }, + { value: 'opus', label: 'MiniMax-M2.5' }, + { value: 'haiku', label: 'MiniMax-M2.5' }, ], 'https://api.minimax.io/anthropic': [ - { value: 'sonnet', label: 'MiniMax-M2.1' }, - { value: 'opus', label: 'MiniMax-M2.1' }, - { value: 'haiku', label: 'MiniMax-M2.1' }, + { value: 'sonnet', label: 'MiniMax-M2.5' }, + { value: 'opus', label: 'MiniMax-M2.5' }, + { value: 'haiku', label: 'MiniMax-M2.5' }, ], 'https://openrouter.ai/api': [ { value: 'sonnet', label: 'Sonnet 4.6' },