diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 3c2b7a7012..6b1c135b6f 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -798,8 +798,10 @@ if ( !event?.internal && - !$openSideChatIds.has(event.chat_id) && - ((event.chat_id !== $chatId && !$temporaryChatEnabled) || isInBackground) + ((event.chat_id !== $chatId && + !$openSideChatIds.has(event.chat_id) && + !$temporaryChatEnabled) || + isInBackground) ) { if (type === 'chat:completion') { const { done, content, output, title } = data;