move reminder into prompts

This commit is contained in:
Paul Gauthier 2023-04-10 14:35:58 -07:00
parent a070c357a0
commit f588881779
2 changed files with 3 additions and 1 deletions

View file

@ -110,7 +110,7 @@ class Coder:
dict(role = 'user', content = files_content),
dict(role = 'assistant', content = "Ok."),
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)

View file

@ -92,6 +92,8 @@ if __name__ == '__main__':
>>>>>>> UPDATED
'''
system_reminder = 'REMEMBER, ONLY RETURN CODE USING THE ORIGINAL/UPDATED FORMAT!'
### FILES
files_content_prefix_edited = 'I made your suggested changes, here are the updated files:\n\n'