From 85cdcab850cadbbd346d38b34603e3eb00e3e715 Mon Sep 17 00:00:00 2001 From: Dogtiti <499960698@qq.com> Date: Wed, 6 Nov 2024 14:53:08 +0800 Subject: [PATCH] fix: botMessage reply date --- app/store/chat.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/store/chat.ts b/app/store/chat.ts index e2dbe90b026..af4993d12ab 100644 --- a/app/store/chat.ts +++ b/app/store/chat.ts @@ -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);