Merge pull request #12168 from yak1ex/fix_inconsistent_value_check_in_onMessageHandler_in_Chat_svelte

fix: Inconsistent value check in onMessageHandler() in Chat.svelte
This commit is contained in:
Timothy Jaeryang Baek 2025-03-28 22:12:57 -07:00 committed by GitHub
commit 66015bb341
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}