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

feat: implement global command history storage #1440

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pauldw
Copy link

@pauldw pauldw commented Feb 28, 2025

Store command history in ~/.config/goose/history.txt instead of per-session.

This allows command history to persist across different chat sessions.

Store command history in ~/.config/goose/history.txt instead of per-session.
This allows command history to persist across different chat sessions.
Add save_history helper function to ensure history is saved after each command.
Copy link
Collaborator

@baxen baxen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! definitely have missed not having this

@baxen
Copy link
Collaborator

baxen commented Feb 28, 2025

do you have a second to run cargo fmt? failing on our formatter check right now

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.

2 participants