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

Persist chat history #382

Merged
merged 4 commits into from
Oct 17, 2024
Merged

Persist chat history #382

merged 4 commits into from
Oct 17, 2024

Conversation

nichochar
Copy link
Contributor

The history is now persisted into SQLite DB.

Notes

  • Currently persist the whole history, this includes origin / modified version of files. Kind of heavy! But my take is that it will be useful to prototype features like "revert" until we add versioning
  • added a versioning scheme to the history type since it's JSON in the DB, in case we need to run some migrations
  • Moved some types in shared. Don't love doing this but we have a client/server contract now so it's justified

@nichochar nichochar merged commit 9a189f9 into main Oct 17, 2024
3 checks passed
@nichochar nichochar deleted the persist-chat-history branch October 17, 2024 20:25
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.

1 participant