diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 0ce2ca436e..8864060331 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1956,6 +1956,14 @@ await loadChat(); return; } + // A reply this page has not loaded yet ended. + if ( + type === 'chat:active' && + !event.data.data?.active && + !$temporaryChat && + !history.messages[event.message_id] + ) + await loadChat(); if (type === 'chat:list') { return; }