diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 4f3cc7c73..fc5b5a324 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -385,7 +385,7 @@ if (event.data.type === 'input:prompt:submit') { console.debug(event.data.text); - if (prompt !== '') { + if (event.data.text !== '') { await tick(); submitPrompt(event.data.text); }