From 308f469b9c0c1fefb1c08470a045552328c5e493 Mon Sep 17 00:00:00 2001 From: SkywalkerJi Date: Wed, 5 Nov 2025 09:50:05 +0800 Subject: [PATCH] Change the default model to qwen3-max to mitigate output quality issues caused by model downgrading. --- mcp/client.go | 2 +- web/src/components/AITradersPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mcp/client.go b/mcp/client.go index 9191dfaf..985a3f65 100644 --- a/mcp/client.go +++ b/mcp/client.go @@ -81,7 +81,7 @@ func (client *Client) SetQwenAPIKey(apiKey string, customURL string, customModel client.Model = customModel log.Printf("🔧 [MCP] Qwen 使用自定义 Model: %s", customModel) } else { - client.Model = "qwen-plus" // 可选: qwen-turbo, qwen-plus, qwen-max + client.Model = "qwen3-max" log.Printf("🔧 [MCP] Qwen 使用默认 Model: %s", client.Model) } // 打印 API Key 的前后各4位用于验证 diff --git a/web/src/components/AITradersPage.tsx b/web/src/components/AITradersPage.tsx index c38ea5cb..45cb1955 100644 --- a/web/src/components/AITradersPage.tsx +++ b/web/src/components/AITradersPage.tsx @@ -1095,7 +1095,7 @@ function ModelConfigModal({ type="text" value={modelName} onChange={(e) => setModelName(e.target.value)} - placeholder="例如: deepseek-chat, qwen-max, gpt-5" + placeholder="例如: deepseek-chat, qwen3-max, gpt-5" className="w-full px-3 py-2 rounded" style={{ background: '#0B0E11', border: '1px solid #2B3139', color: '#EAECEF' }} />