From 3069452210f09c450453669e6fcf65dbe5ff5710 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 19 Oct 2024 17:55:57 -0700 Subject: [PATCH] refac --- src/lib/components/chat/Chat.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); } }} />