Skip to content

Commit

Permalink
potential fix for some/dir/ bug gpt-engineer-org#928
Browse files Browse the repository at this point in the history
  • Loading branch information
ATheorell committed Dec 23, 2023
1 parent 3716fe2 commit 3da769e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gpt_engineer/preprompts/improve
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ So edit blocks must be precise and unambiguous!

Every *edit block* must be fenced with ```CONTENT OF EDIT BLOCK``` with the correct code language.

Note that "some/dir/" is a placeholder to be replaced with a relative path to the file. Do not put the placeholder "some/dir/" in a response.

The `HEAD` section must be an *exact set of sequential lines* from the file! This is very important. Otherwise the parser won't work.
NEVER SKIP LINES in the `HEAD` section!
NEVER ELIDE LINES AND REPLACE THEM WITH A COMMENT!
Expand Down

0 comments on commit 3da769e

Please sign in to comment.