mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
Ask GPT to retry if original block is not found
This commit is contained in:
parent
691c013272
commit
4bc35a7376
3 changed files with 14 additions and 3 deletions
|
@ -33,7 +33,7 @@ some/dir/example.py
|
|||
|
||||
Every *edit block* must be fenced with {fence[0]}...{fence[1]} with the correct code language.
|
||||
Every *edit block* must start with the full path! *NEVER* propose edit blocks for *read-only* files.
|
||||
The ORIGINAL section must be an *exact* set of lines from the file:
|
||||
The ORIGINAL section must be an *exact set of sequential lines* from the file:
|
||||
- NEVER SKIP LINES!
|
||||
- Include all original leading spaces and indentation!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue