From 0fc2366eb911397d26c98e4eca440b5618187db0 Mon Sep 17 00:00:00 2001 From: WangDL Date: Fri, 22 May 2026 11:49:53 +0800 Subject: [PATCH] fix: hide thinking when identical to output + default collapsed --- src/pages/TaskAssistant.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/TaskAssistant.tsx b/src/pages/TaskAssistant.tsx index 45f2c22..3de904f 100644 --- a/src/pages/TaskAssistant.tsx +++ b/src/pages/TaskAssistant.tsx @@ -207,8 +207,8 @@ function ChatPage() { style={{ backgroundColor: msg.role === 'user' ? token.colorPrimary : token.colorSuccess, flexShrink: 0 }} />
{/* Thinking — auto expand during streaming */} - {msg.thinking && ( - 思考过程{msg.streaming ? : null}, children:
{msg.thinking}
, }]} style={{ marginBottom: 8, background: 'transparent' }} />