From c300ba400d50496b11cbc9c20bfdffda147b78d8 Mon Sep 17 00:00:00 2001 From: MT-Mint <798521692@qq.com> Date: Thu, 2 Apr 2026 09:52:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20xclaw=5Fused=E5=88=87=E6=8D=A2=E6=AC=A2?= =?UTF-8?q?=E8=BF=8E=E6=A0=B7=E5=BC=8F=E5=92=8C=E5=AF=B9=E8=AF=9D=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../[agent_name]/chats/[thread_id]/page.tsx | 4 +-- .../app/workspace/chats/[thread_id]/page.tsx | 28 +++++++++---------- .../workspace/chats/use-thread-chat.ts | 4 ++- .../src/components/workspace/input-box.tsx | 18 ++++++------ frontend/src/core/i18n/locales/zh-CN.ts | 3 +- 5 files changed, 30 insertions(+), 27 deletions(-) diff --git a/frontend/src/app/workspace/agents/[agent_name]/chats/[thread_id]/page.tsx b/frontend/src/app/workspace/agents/[agent_name]/chats/[thread_id]/page.tsx index f9c31786..f114a884 100644 --- a/frontend/src/app/workspace/agents/[agent_name]/chats/[thread_id]/page.tsx +++ b/frontend/src/app/workspace/agents/[agent_name]/chats/[thread_id]/page.tsx @@ -37,7 +37,7 @@ export default function AgentChatPage() { const { agent } = useAgent(agent_name); - const { threadId, isNewThread, setIsNewThread } = useThreadChat(); + const { threadId, isNewThread, setIsNewThread, showWelcomeStyle } = useThreadChat(); const { showNotification } = useNotification(); const [thread, sendMessage] = useThreadStream({ @@ -155,7 +155,7 @@ export default function AgentChatPage() { (null); useEffect(() => { @@ -259,7 +259,7 @@ export default function ChatPage() {
@@ -329,14 +329,14 @@ export default function ChatPage() {
{showInputBox ? ( - {isNewThread && !hasSubmitted && ( + {showWelcomeStyle && !hasSubmitted && ( )}
@@ -485,7 +485,7 @@ export default function ChatPage() { 提示

- 退出后,当前会话结束并销毁,请先下载保存当前结果! + (测试中:计划销毁但是现在没有销毁) 退出后,当前会话结束并销毁,请先下载保存当前结果!