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
@@ -24,8 +24,8 @@ export function OnboardingModeSelector({
title: isZh ? '新手模式' : 'Beginner Mode',
badge: isZh ? '推荐' : 'Recommended',
description: isZh
? '自动生成 Base 钱包,默认接入 Claw402 + DeepSeek,最快完成首次启动。'
: 'Generate a Base wallet automatically and start with Claw402 + DeepSeek by default.',
? '自动生成 Base 钱包,默认接入 Claw402 + GLM,最快完成首次启动。'
: 'Generate a Base wallet automatically and start with Claw402 + GLM by default.',
},
{
id: 'advanced',
@@ -536,7 +536,7 @@ function Claw402ConfigForm({
</div>
<div className="grid grid-cols-2 sm:grid-cols-3 gap-2">
{CLAW402_MODELS.map((m) => {
const isSelected = (modelName || 'deepseek') === m.id
const isSelected = (modelName || 'glm-5') === m.id
return (
<button
key={m.id}