From aea8a7ed59572b40dbb42426fd2ba3c2563ac0a8 Mon Sep 17 00:00:00 2001 From: v-zhangjc9 Date: Tue, 13 May 2025 16:13:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(web):=20=E4=BC=98=E5=8C=96=E5=AF=B9?= =?UTF-8?q?=E8=AF=9D=E7=95=8C=E9=9D=A2=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service-web/client/src/pages/ai/Conversation.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/service-web/client/src/pages/ai/Conversation.tsx b/service-web/client/src/pages/ai/Conversation.tsx index f521606..9949473 100644 --- a/service-web/client/src/pages/ai/Conversation.tsx +++ b/service-web/client/src/pages/ai/Conversation.tsx @@ -135,7 +135,7 @@ function Conversation() { onRequest({ message: { role: 'user', - content: think ? message : `/no_think ${message}`, + content: (!think && message.length === 0) ? `/no_think ${message}` : message, }, stream: true, }) @@ -148,7 +148,12 @@ function Conversation() { 深度思考 - + 0} + />