mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
prompt
This commit is contained in:
parent
5628c2bf7c
commit
de17d8ea29
1 changed files with 7 additions and 6 deletions
13
prompts.py
13
prompts.py
|
@ -16,16 +16,17 @@ new lines to replace
|
|||
the original chunk
|
||||
>>>>>>> UPDATED
|
||||
|
||||
Here is an example for how to just ADD lines to a file, without altering existing lines.
|
||||
This anchors the location of the new code in the file by including 2-3 lines from the.
|
||||
Here is an example for how to JUST add lines to a file, without altering any existing lines.
|
||||
This anchors the location of the new code in the file by including a few lines from the original file.
|
||||
|
||||
foo.py
|
||||
<<<<<<< ORIGINAL
|
||||
def foo(a):
|
||||
return a+a
|
||||
result = cam.cnt()
|
||||
return result
|
||||
=======
|
||||
def foo(a):
|
||||
return a+a
|
||||
result = cam.cnt()
|
||||
return result
|
||||
|
||||
def bar(b):
|
||||
return b*b*b
|
||||
>>>>>>> UPDATED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue