Skip to content

Commit

Permalink
fix: botMessage reply date
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogtiti committed Nov 6, 2024
1 parent f4c9410 commit 85cdcab
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 85cdcab

Please sign in to comment.