fix: Continue Response continues the reply it was clicked under (#32456)

This commit is contained in:
G30 authored and GitHub committed 2026-10-15 13:12:00 +04:00
1 parent 9245e31ccb
commit 3c82fda4e8
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -4469,12 +4469,12 @@
}
};
const continueResponse = async () => {
const continueResponse = async (message) => {
console.log('continueResponse');
const _chatId = JSON.parse(JSON.stringify($chatId));
if (history.currentId && history.messages[history.currentId].done == true) {
const responseMessage = history.messages[history.currentId];
if (history.messages[message.id].done == true) {
const responseMessage = history.messages[message.id];
responseMessage.done = false;
await tick();
@@ -1383,7 +1383,7 @@
? 'visible'
: 'hover-reveal'} p-1.5 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg dark:hover:text-white hover:text-black transition"
on:click={() => {
continueResponse();
continueResponse(message);
}}
>
<svg