Timothy J. Baek 11 tháng trước cách đây
mục cha
commit
b4fca046a8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/lib/components/chat/MessageInput.svelte

+ 1 - 1
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;
 										}