diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 58d0a5445..81416e77f 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1978,6 +1978,11 @@ {mergeResponses} {chatActionHandler} bottomPadding={files.length > 0} + on:submit={(e) => { + if (e.detail) { + submitPrompt(e.detail); + } + }} /> diff --git a/src/lib/components/chat/Messages.svelte b/src/lib/components/chat/Messages.svelte index ef2810686..a75046277 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -1,7 +1,8 @@ + +