diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 751c49bed9..ff0ad61631 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -2820,7 +2820,7 @@ }; const saveControls = async () => { - if (!$chatId || $temporaryChatEnabled) return; + if (loading || !$chatId || $temporaryChatEnabled) return; await updateChatById(localStorage.token, $chatId, { params, files: chatFiles }).catch((err) => console.error('[controls autosave]', err) );