mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
noop
This commit is contained in:
parent
610998aafd
commit
14463700d3
2 changed files with 10 additions and 11 deletions
10
coder.py
10
coder.py
|
@ -73,10 +73,12 @@ class Coder:
|
||||||
|
|
||||||
print()
|
print()
|
||||||
print('='*60)
|
print('='*60)
|
||||||
try:
|
inp = ''
|
||||||
inp = input('> ')
|
while not inp.strip():
|
||||||
except EOFError:
|
try:
|
||||||
return
|
inp = input('> ')
|
||||||
|
except EOFError:
|
||||||
|
return
|
||||||
|
|
||||||
print()
|
print()
|
||||||
|
|
||||||
|
|
11
prompts.py
11
prompts.py
|
@ -17,7 +17,7 @@ the original chunk
|
||||||
>>>>>>> UPDATED
|
>>>>>>> UPDATED
|
||||||
|
|
||||||
Here is an example for how to JUST add lines to a file, without altering any existing lines.
|
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.
|
This anchors the location of the new code in the file by including a few DISTINCTIVE lines from the original file.
|
||||||
|
|
||||||
foo.py
|
foo.py
|
||||||
<<<<<<< ORIGINAL
|
<<<<<<< ORIGINAL
|
||||||
|
@ -38,16 +38,13 @@ files_content_prefix_edited = 'I made your suggested changes, here are the updat
|
||||||
|
|
||||||
files_content_prefix_plain = 'Here are the files:\n\n'
|
files_content_prefix_plain = 'Here are the files:\n\n'
|
||||||
|
|
||||||
files_content_suffix = '''
|
files_content_suffix = ''
|
||||||
|
|
||||||
YOU CAN ONLY EDIT THESE FILES.
|
|
||||||
NEVER REPLY WITH WHOLE FILES LIKE THIS!
|
|
||||||
'''
|
|
||||||
|
|
||||||
user_suffix = '''
|
user_suffix = '''
|
||||||
|
|
||||||
|
YOU CAN ONLY EDIT THE FILES I PROVIDED ABOVE!
|
||||||
NEVER INCLUDE AN ENTIRE FILE IN YOUR REPLY!
|
NEVER INCLUDE AN ENTIRE FILE IN YOUR REPLY!
|
||||||
ONLY TELL ME CODE CHANGES BY USING ORIGINAL/UPDATED EDIT COMMANDS!
|
TO SPECIFY CODE CHANGES YOU MUST USE THE ORIGINAL/UPDATED EDIT COMMANDS!
|
||||||
'''
|
'''
|
||||||
|
|
||||||
### EDITOR
|
### EDITOR
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue