Skip to content

Commit fc62b5f

Browse files
committed
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.
1 parent ea2edd0 commit fc62b5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/server/public_simplechat/simplechat.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,6 +1518,7 @@ class MultiChatUI {
15181518
} else {
15191519
if (content.trim() == "") {
15201520
this.elInUser.placeholder = "dont forget to enter a message, before submitting to ai"
1521+
this.chat_show(chatId)
15211522
return;
15221523
}
15231524
try {

0 commit comments

Comments
 (0)