mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
updated editblock to use all the fences
This commit is contained in:
parent
82f8f1f62a
commit
12c3c1ed68
1 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ Once you understand the request you MUST:
|
|||
|
||||
system_reminder = """You MUST format EVERY code change with an *edit block* like this:
|
||||
|
||||
```python
|
||||
{fence[0]}python
|
||||
some/dir/example.py
|
||||
<<<<<<< ORIGINAL
|
||||
# some comment
|
||||
|
@ -29,9 +29,9 @@ some/dir/example.py
|
|||
# Function to add
|
||||
def add(a,b):
|
||||
>>>>>>> UPDATED
|
||||
```
|
||||
{fence[1]}
|
||||
|
||||
Every *edit block* must be fenced w/triple backticks with the correct code language.
|
||||
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:
|
||||
- NEVER SKIP LINES!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue