On /undo, ask GPT to wait before retrying the changes #450

This commit is contained in:
Paul Gauthier 2024-01-22 13:05:38 -08:00
parent f0531b8b75
commit 877dda2f3d

View file

@ -11,7 +11,11 @@ Reply with JUST the commit message, without quotes, comments, questions, etc!
"""
# COMMANDS
undo_command_reply = "I did `git reset --hard HEAD~1` to discard the last edits."
undo_command_reply = (
"I did `git reset --hard HEAD~1` to discard the last edits. Please wait for further"
" instructions before attempting that change again. Feel free to ask relevant questions about"
" why the changes were reverted."
)
added_files = "I added these *read-write* files: {fnames}"