mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
move reminder into prompts
This commit is contained in:
parent
a070c357a0
commit
f588881779
2 changed files with 3 additions and 1 deletions
2
coder.py
2
coder.py
|
@ -110,7 +110,7 @@ class Coder:
|
||||||
dict(role = 'user', content = files_content),
|
dict(role = 'user', content = files_content),
|
||||||
dict(role = 'assistant', content = "Ok."),
|
dict(role = 'assistant', content = "Ok."),
|
||||||
dict(role = 'user', content = inp),
|
dict(role = 'user', content = inp),
|
||||||
dict(role = 'system', content = 'REMEMBER, ONLY RETURN CODE USING THE ORIGINAL/UPDATED FORMAT!'),
|
#dict(role = 'system', content = prompts.system_reminder),
|
||||||
]
|
]
|
||||||
|
|
||||||
content = self.send(messages)
|
content = self.send(messages)
|
||||||
|
|
|
@ -92,6 +92,8 @@ if __name__ == '__main__':
|
||||||
>>>>>>> UPDATED
|
>>>>>>> UPDATED
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
system_reminder = 'REMEMBER, ONLY RETURN CODE USING THE ORIGINAL/UPDATED FORMAT!'
|
||||||
|
|
||||||
### FILES
|
### FILES
|
||||||
|
|
||||||
files_content_prefix_edited = 'I made your suggested changes, here are the updated files:\n\n'
|
files_content_prefix_edited = 'I made your suggested changes, here are the updated files:\n\n'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue