Merge pull request #11545 from hurxxxx/fix/reset-taskId-after-conversation

fix: Reset taskId after completion to prevent incorrect cancellation behavior
This commit is contained in:
Timothy Jaeryang Baek 2025-03-11 18:29:59 +00:00 committed by GitHub
commit 64fa37c15d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -894,6 +894,8 @@
await chats.set(await getChatList(localStorage.token, $currentChatPage)); await chats.set(await getChatList(localStorage.token, $currentChatPage));
} }
} }
taskId = null
}; };
const chatActionHandler = async (chatId, actionId, modelId, responseMessageId, event = null) => { const chatActionHandler = async (chatId, actionId, modelId, responseMessageId, event = null) => {