Skip to content

Restore timestamps from older chats. #285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jkoornneef opened this issue Nov 28, 2021 · 2 comments
Closed

Restore timestamps from older chats. #285

jkoornneef opened this issue Nov 28, 2021 · 2 comments

Comments

@jkoornneef
Copy link

Can addResponseMessage and addUserMessage be extended to pass in an optional timestamp Date.
I would like to continue a previous chat. I can load the history from the database and use those two methods, but all messages will have the current time stamp due to:
timestamp: new Date(),

@bnjr
Copy link

bnjr commented Nov 28, 2021

There is a PR for this #275
@mcallegari10 request you to merge as it is a requirement from lot of us

@jkoornneef
Copy link
Author

@bnjr Thanks, I missed that branch. I agree, a merge would be helpful for many.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants