mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
Updated ORIGINAL prompting
This commit is contained in:
parent
0aa2ff2cf9
commit
2c53c153b8
2 changed files with 4 additions and 4 deletions
|
@ -34,9 +34,9 @@ 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 sequential lines* from the file:
|
||||
- NEVER SKIP LINES!
|
||||
- NEVER SKIP LEADING WHITESPACE FROM LINES!
|
||||
|
||||
NEVER SKIP LINES in the ORIGINAL section!
|
||||
NEVER OMIT ANY WHITESPACE in the ORIGINAL section!
|
||||
|
||||
Edits to different parts of a file each need their own *edit block*.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue