diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 777632204..ebaa2baac 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -2214,7 +2214,7 @@ if (e.detail) { prompt = ''; await tick(); - submitPrompt(e.detail); + submitPrompt(e.detail.replaceAll('\n\n', '\n')); } }} />