3.5 prompts

This commit is contained in:
Paul Gauthier 2023-06-04 13:59:43 -07:00
parent 2bdfdb11bb
commit 56d2aa59ee
3 changed files with 8 additions and 3 deletions

View file

@ -298,7 +298,10 @@ class Coder:
dict(role="user", content=inp),
]
main_sys = self.gpt_prompts.main_system + "\n" + self.gpt_prompts.system_reminder
main_sys = self.gpt_prompts.main_system
if self.main_model == "gpt-4":
main_sys += "\n" + self.gpt_prompts.system_reminder
messages = [
dict(role="system", content=main_sys),
]