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

Fix #329: Ability to follow up on one-off prompts with chat and repl #556

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

Conversation

jeanlucthumm
Copy link
Contributor

@jeanlucthumm jeanlucthumm commented Apr 26, 2024

Adds new flag --follow-up (-fu) which can be used with --repl and --chat to pull in the last one-off prompt.

Implemented by keeping a last_chat file in the cache directory that's overwritten for every default prompt call (sgpt "[some prompt]"), and then copying this file over to the chat cache directory when -fu is specified.

image

image

@jeanlucthumm
Copy link
Contributor Author

#329

@jeanlucthumm
Copy link
Contributor Author

@TheR1D I thought there was a way for me to assign reviewers but I can't find it.

@Robinsane
Copy link

@TheR1D I thought there was a way for me to assign reviewers but I can't find it.

The button appears on the top right of this page, but only after it's been reviewed once already.
The idea is probably, once you made a PR, it's always ready for review :)

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.

None yet

2 participants