diff --git a/public/script.js b/public/script.js index dd6af9884..6a3844fc5 100644 --- a/public/script.js +++ b/public/script.js @@ -4698,6 +4698,7 @@ export async function sendMessageAsUser(messageText, messageBias, insertAt = nul await eventSource.emit(event_types.MESSAGE_SENT, chat_id); addOneMessage(message); await eventSource.emit(event_types.USER_MESSAGE_RENDERED, chat_id); + await saveChatConditional(); } }