better prompting for LLM to suggest files

This commit is contained in:
Paul Gauthier 2024-05-14 06:02:16 -07:00
parent e96420f999
commit 6638efbee4
5 changed files with 12 additions and 6 deletions

View file

@ -17,7 +17,9 @@ undo_command_reply = (
" why the changes were reverted."
)
added_files = "I added these files to the chat: {fnames}"
added_files = """I added these files to the chat: {fnames}.
If you need to propose edits to other existing files not already added to the chat, you *MUST* tell the me their full path names and ask me to *add the files to the chat*. End your reply and wait for my approval. You can keep asking if you then decide you need to edit more files."""
run_output = """I ran this command: