diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 81f1ecd10..bc10a6638 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -833,7 +833,7 @@ ]?.at(-1); if (!commandOptionButton) { - if (e.key === 'Enter' && !e.shiftKey && prompt !== '' && selected) { + if (e.key === 'Enter' && !e.shiftKey && prompt !== '') { submitPrompt(prompt, user); return; }