From c1f189a602b6ce224c782688a98357394c66dd3f Mon Sep 17 00:00:00 2001 From: Yak! Date: Sun, 23 Mar 2025 17:52:48 +0900 Subject: [PATCH] Fix inconsistent value check. --- src/lib/components/chat/Chat.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index ca766c9f7..e2b408059 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -384,7 +384,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); }