fix: 使用is_chatting的使用,is_chatting=true的时候才会显示对话页

This commit is contained in:
肖应宇 2026-04-08 14:35:40 +08:00
parent f06a3fb49e
commit 25111a9b03
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ export default function ChatPage() {
setIsNewThread(false); setIsNewThread(false);
// if (!shouldStayOnNewRoute) { // if (!shouldStayOnNewRoute) {
// Keep /new in history so router.back() can return to it. // Keep /new in history so router.back() can return to it.
router.replace(`/workspace/chats/${currentThreadId}`); router.replace(`/workspace/chats/${currentThreadId}?is_chatting=true`);
// } // }
// history.pushState(null, "", pathOfThread(currentThreadId)); // history.pushState(null, "", pathOfThread(currentThreadId));
}, },