diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 5cfeba95eb..a2f5116dee 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1442,6 +1442,7 @@ } messageInput?.setText(''); + prompt = ''; // Reset chat input textarea if (!($settings?.richTextInput ?? true)) { @@ -2334,6 +2335,7 @@ clearDraft(); if (e.detail || files.length > 0) { await tick(); + submitPrompt( ($settings?.richTextInput ?? true) ? e.detail.replaceAll('\n\n', '\n')