mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 20:54:59 +00:00
Tell Sonnet to make concise SEARCH/REPLACE blocks #705
This commit is contained in:
parent
b44c24678c
commit
7be08c782c
2 changed files with 38 additions and 19 deletions
|
@ -124,8 +124,12 @@ Every *SEARCH/REPLACE block* must use this format:
|
|||
|
||||
Every *SEARCH* section must *EXACTLY MATCH* the existing source code, character for character, including all comments, docstrings, etc.
|
||||
|
||||
|
||||
*SEARCH/REPLACE* blocks will replace *all* matching occurrences.
|
||||
Include enough lines to make the SEARCH blocks unique.
|
||||
Include enough lines to make the SEARCH blocks uniquely match the lines to change.
|
||||
|
||||
Keep *SEARCH/REPLACE* blocks concise.
|
||||
Include just the changing lines, and a few surrounding lines if needed for uniqueness.
|
||||
|
||||
Include *ALL* the code being searched and replaced!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue