diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index f37e168b4..752410076 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -122,7 +122,7 @@ } onMount(async () => { - if (!chatId) { + if (!$chatId) { await initNewChat(); } else { if (!($settings.saveChatHistory ?? true)) {