diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 283c8501d..9f8f1d326 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -2040,7 +2040,7 @@ {stopResponse} {createMessagePair} onChange={(input) => { - if (input.prompt) { + if (input.prompt !== null) { localStorage.setItem(`chat-input-${$chatId}`, JSON.stringify(input)); } else { localStorage.removeItem(`chat-input-${$chatId}`);