From 5ad191684a7a077bdcd2d05790a00ae54ac50231 Mon Sep 17 00:00:00 2001 From: gaoziman <2942894660@qq.com> Date: Mon, 22 Dec 2025 00:21:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=89=8D=E7=AB=AF):=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=20useSettings=20=E4=B8=AD=E7=9A=84=20code=5Fexecution?= =?UTF-8?q?=20=E9=BB=98=E8=AE=A4=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 从前端默认设置中移除 code_execution 工具 --- src/hooks/useSettings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useSettings.ts b/src/hooks/useSettings.ts index 94ae9b5..618e617 100644 --- a/src/hooks/useSettings.ts +++ b/src/hooks/useSettings.ts @@ -53,7 +53,7 @@ const defaultSettings: Settings = { cchApiKeyConfigured: false, apiFormat: 'claude', defaultModel: 'claude-sonnet-4-5-20250929', - defaultTools: ['web_search', 'code_execution', 'web_fetch'], + defaultTools: ['web_search', 'web_fetch'], systemPrompt: '', temperature: '0.7', theme: 'light',