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; } }