diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 7776322047..ebaa2baaca 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')); } }} />