Timothy J. Baek 11 月之前
父节点
当前提交
b4fca046a8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 										}