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

Add logic for clearing and starting new session #39

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

dougollerenshaw
Copy link
Owner

@dougollerenshaw dougollerenshaw commented Oct 1, 2024

Adds a button to clear the session. Clears the chat window and the chat history. Starts a new session. This is useful if we want to eliminate the previous chat from the context to save tokens.

Also saves the full chat window history to a file in the session_data folder to facilitate a future feature that would allow us to continue from existing sessions.

@dougollerenshaw dougollerenshaw merged commit cdd868d into main Oct 1, 2024
4 checks passed
@dougollerenshaw dougollerenshaw deleted the clear_session branch October 1, 2024 19:31
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