From d12bf062b5d5c80ea2254c1ed835fde14b76e469 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sat, 10 Oct 2026 17:56:19 +0200 Subject: [PATCH] fix: stopping a reply leaves the chat stuck with the Stop button showing (#32184) Stopping a reply did stop it, but the page kept showing it as still generating: the Stop button stayed and the next message was never answered. The same happened when sending a queued message right away with Send now. After the reply was marked finished, the page put back an older copy of it that was still marked as generating. Stopped replies now show as finished again, the Send button returns and the next message gets an answer. Fixes #32081 --- src/lib/components/chat/Chat.svelte | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 546a5a178a..a93913cf18 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1478,6 +1478,7 @@ for (const messageId of history.messages[message.parentId].childrenIds) { history.messages[messageId].done = true; } + message.done = true; await processNextInQueue($chatId); } else { message.done = true; @@ -4228,10 +4229,6 @@ } } - if (responseMessage) { - history.messages[responseMessage.id] = responseMessage; - } - if (shouldAutoScrollResponse()) { scrollToBottom(); }