From 45eb96fe92b0e0601ef71ef868c6a1a4f1ef2f91 Mon Sep 17 00:00:00 2001 From: EvanWu <850123119@qq.com> Date: Tue, 5 Aug 2025 20:02:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=80=89=E6=8B=A9=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=9B=9E=E5=A4=8D=E8=81=94=E7=BD=91=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/chat.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 01d0d565a..5dbaeaa20 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -707,6 +707,9 @@ export function ChatActions(props: { session.mask.modelConfig.providerName = providerName as ServiceProvider; session.mask.syncGlobalConfig = false; + session.mask.modelConfig.enableNetWork = canUseNetWork(model) + ? session.mask.modelConfig.enableNetWork + : false; }); if (providerName == "ByteDance") { const selectedModel = models.find(