Skip to content
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

Page refresh firing before saveChat #326

Conversation

athrael-soju
Copy link

The code changes refactor the logic for saving a chat in the chat application. Instead of saving the chat after each streamed result, the chat is now saved only once it's done.

This resolves #302

leerob and others added 26 commits January 20, 2024 10:39
The import path for the getMissingKeys function was updated from
'../actions' to '@/app/actions' to align with the project's import
conventions and improve code clarity.
The code changes refactor the logic for saving a chat in the chat application. Instead of saving the chat after each streamed result, the chat is now saved only once it's done. This improves efficiency and prevents unnecessary saving.
Copy link

vercel bot commented May 4, 2024

@athrael-soju is attempting to deploy a commit to the Uncurated Tests Team on Vercel.

A member of the Team first needs to authorize it.

@athrael-soju athrael-soju changed the title refactor: Save chat only once it's done Page refresh firing before saveChat May 4, 2024
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

Successfully merging this pull request may close these issues.

Page refresh firing before saveChat