|
|
@@ -428,6 +428,7 @@ export const useChatStore = createPersistStore(
|
|
|
botMessage.streaming = false;
|
|
|
if (message) {
|
|
|
botMessage.content = message;
|
|
|
+ botMessage.date = new Date().toLocaleString();
|
|
|
get().onNewMessage(botMessage, session);
|
|
|
}
|
|
|
ChatControllerPool.remove(session.id, botMessage.id);
|