fix: update frontend default model references from DeepSeek to GLM

Backend was changed to GLM-5 in 8a0f3f5 but frontend still had
hardcoded DeepSeek fallback and onboarding copy.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
shinchan-zhai
2026-04-10 22:47:35 +08:00
parent 4f0a922779
commit 6fe849c18d
2 changed files with 3 additions and 3 deletions

View File

@@ -24,8 +24,8 @@ export function OnboardingModeSelector({
title: isZh ? '新手模式' : 'Beginner Mode', title: isZh ? '新手模式' : 'Beginner Mode',
badge: isZh ? '推荐' : 'Recommended', badge: isZh ? '推荐' : 'Recommended',
description: isZh description: isZh
? '自动生成 Base 钱包,默认接入 Claw402 + DeepSeek,最快完成首次启动。' ? '自动生成 Base 钱包,默认接入 Claw402 + GLM,最快完成首次启动。'
: 'Generate a Base wallet automatically and start with Claw402 + DeepSeek by default.', : 'Generate a Base wallet automatically and start with Claw402 + GLM by default.',
}, },
{ {
id: 'advanced', id: 'advanced',

View File

@@ -536,7 +536,7 @@ function Claw402ConfigForm({
</div> </div>
<div className="grid grid-cols-2 sm:grid-cols-3 gap-2"> <div className="grid grid-cols-2 sm:grid-cols-3 gap-2">
{CLAW402_MODELS.map((m) => { {CLAW402_MODELS.map((m) => {
const isSelected = (modelName || 'deepseek') === m.id const isSelected = (modelName || 'glm-5') === m.id
return ( return (
<button <button
key={m.id} key={m.id}