shell_gpt icon indicating copy to clipboard operation
shell_gpt copied to clipboard

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

Open jeanlucthumm opened this issue 1 year ago • 4 comments

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 avatar Apr 26 '24 19:04 jeanlucthumm

#329

jeanlucthumm avatar Apr 26 '24 20:04 jeanlucthumm

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

jeanlucthumm avatar Apr 26 '24 20:04 jeanlucthumm

@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 :)

Robinsane avatar Apr 30 '24 06:04 Robinsane

@TheR1D friendly ping on review

jeanlucthumm avatar Jun 12 '24 23:06 jeanlucthumm