style: fix trailing comma in system prompt dictionary

This commit is contained in:
Paul Gauthier (aider) 2024-12-05 18:57:50 -08:00
parent aa217a3a43
commit 87dbb56d7e

View file

@ -39,7 +39,7 @@ class EditorEditBlockCoder(EditBlockCoder):
chunks.reminder = [
dict(
role="system",
content=self.fmt_system_prompt(self.gpt_prompts.system_reminder)
content=self.fmt_system_prompt(self.gpt_prompts.system_reminder),
)
]
elif self.main_model.reminder == "user" and final["role"] == "user":