From b8d457729217e6487a1bd45bd1ec490334294f0e Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 1 Apr 2026 05:23:19 -0500 Subject: [PATCH] refac --- src/lib/components/chat/Chat.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 8385a2f24..c82bb55fd 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1296,7 +1296,7 @@ if (history.currentId) { for (const message of Object.values(history.messages)) { - if (message && message.role === 'assistant' && message.done !== false) { + if (message && message.role === 'assistant' && message.id !== history.currentId && message.done !== false) { message.done = true; } }