mirror of
https://github.com/ChatGPTNextWeb/NextChat.git
synced 2026-01-26 02:19:45 +08:00
Merge pull request #5778 from ConnectAI-E/fix/5436
fix: botMessage reply date
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user