From 80c964de0957425beb0bed44e8243148eb6a9be7 Mon Sep 17 00:00:00 2001 From: MT-Fire <798521692@qq.com> Date: Sat, 11 Apr 2026 21:42:04 +0800 Subject: [PATCH] =?UTF-8?q?feat(route):=20=E5=89=8D=E5=BE=80=E5=AF=B9?= =?UTF-8?q?=E8=AF=9D=E9=A1=B5=E7=9A=84=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/workspace/chats/[thread_id]/page.tsx | 38 ++++++++----------- .../src/components/workspace/input-box.tsx | 29 +++++++++++++- frontend/src/core/i18n/locales/en-US.ts | 1 + frontend/src/core/i18n/locales/types.ts | 1 + frontend/src/core/i18n/locales/zh-CN.ts | 1 + 5 files changed, 46 insertions(+), 24 deletions(-) diff --git a/frontend/src/app/workspace/chats/[thread_id]/page.tsx b/frontend/src/app/workspace/chats/[thread_id]/page.tsx index 8fb9a478..9a06eb4b 100644 --- a/frontend/src/app/workspace/chats/[thread_id]/page.tsx +++ b/frontend/src/app/workspace/chats/[thread_id]/page.tsx @@ -527,37 +527,31 @@ export default function ChatPage() { )} > {!(showWelcomeStyle && thread.isThreadLoading) ? ( - - {showWelcomeStyle && !hasSubmitted && ( - - )} - - } - disabled={ - env.NEXT_PUBLIC_STATIC_WEBSITE_ONLY === "true" || + extraHeader={
+ {showWelcomeStyle && !hasSubmitted && ( + + )} +
} + disabled={env.NEXT_PUBLIC_STATIC_WEBSITE_ONLY === "true" || isSelectedSkillBootstrapping || isUploading || - (isNewThread && !safeThreadId) - } + (isNewThread && !safeThreadId)} onContextChange={(context) => setSettings("context", context)} onSubmit={handleSubmit} - onStop={handleStop} - /> + onStop={handleStop} /> + ) : ( // '' @@ -583,7 +577,7 @@ export default function ChatPage() { 提示

- (测试中:计划销毁但是现在没有销毁) 退出后,当前会话结束并销毁,请先下载保存当前结果! + 历史记录每七天自动删除,现在将返回欢迎页,是否继续?