diff --git a/src/lib/components/notes/NoteEditor.svelte b/src/lib/components/notes/NoteEditor.svelte index 837bef5cf6..6d9cb1b8e2 100644 --- a/src/lib/components/notes/NoteEditor.svelte +++ b/src/lib/components/notes/NoteEditor.svelte @@ -540,6 +540,7 @@ }; const enhanceCompletionHandler = async (model) => { + stopResponseFlag = false; let enhancedContent = { json: null, html: '', diff --git a/src/lib/components/notes/NoteEditor/Chat.svelte b/src/lib/components/notes/NoteEditor/Chat.svelte index 36603a4b44..6b4b6accfc 100644 --- a/src/lib/components/notes/NoteEditor/Chat.svelte +++ b/src/lib/components/notes/NoteEditor/Chat.svelte @@ -146,6 +146,7 @@ Based on the user's instruction, update and enhance the existing notes by incorp await tick(); scrollToBottom(); + stopResponseFlag = false; let enhancedContent = { json: null, html: '',