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:
parent
efcd81aa2f
commit
95f79eb8b0
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue