diff --git a/src/lib/components/notes/NoteEditor/Chat.svelte b/src/lib/components/notes/NoteEditor/Chat.svelte index 97872758dd..1a7e29a7ba 100644 --- a/src/lib/components/notes/NoteEditor/Chat.svelte +++ b/src/lib/components/notes/NoteEditor/Chat.svelte @@ -79,7 +79,6 @@ let system = ''; let editorEnabled = false; - let chatInputElement = null; const DEFAULT_DOCUMENT_EDITOR_PROMPT = `You are an expert document editor. @@ -311,6 +310,8 @@ Based on the user's instruction, update and enhance the existing notes by incorp selectedModelId = ''; } + editorEnabled = localStorage.getItem('noteEditorEnabled') === 'true'; + loaded = true; await tick(); @@ -379,7 +380,11 @@ Based on the user's instruction, update and enhance the existing notes by incorp