From 1160e21d45d362e749587e47dd752aa054dbe604 Mon Sep 17 00:00:00 2001 From: hurxxxx Date: Tue, 11 Mar 2025 21:18:53 +0900 Subject: [PATCH] fix: reset taskId after conversation to prevent incorrect cancellation behavior --- src/lib/components/chat/Chat.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index ca766c9f7..61c8827fc 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -887,6 +887,8 @@ await chats.set(await getChatList(localStorage.token, $currentChatPage)); } } + + taskId = null }; const chatActionHandler = async (chatId, actionId, modelId, responseMessageId, event = null) => {