Skip to content

Commit

Permalink
Merge pull request #5778 from ConnectAI-E/fix/5436
Browse files Browse the repository at this point in the history
fix: botMessage reply date
  • Loading branch information
lloydzhou authored Nov 6, 2024
2 parents f4c9410 + 85cdcab commit 6ded4e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/store/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6ded4e9

Please sign in to comment.