SimpleChatTCRV:CleanUp: Refresh chat ui, if user empty submits

This ensures that the tool call edit/trigger is reshown, when user
submits a empty response and the logic stops from going ahead.
This commit is contained in:
hanishkvc 2025-11-14 19:06:05 +05:30
parent efcd81aa2f
commit 95f79eb8b0
1 changed files with 1 additions and 0 deletions

View File

@ -1518,6 +1518,7 @@ class MultiChatUI {
} else { } else {
if (content.trim() == "") { if (content.trim() == "") {
this.elInUser.placeholder = "dont forget to enter a message, before submitting to ai" this.elInUser.placeholder = "dont forget to enter a message, before submitting to ai"
this.chat_show(chatId)
return; return;
} }
try { try {