From fcdf998fac40cb696980569949e4f541f30615ca Mon Sep 17 00:00:00 2001 From: kAIto47802 <115693559+kAIto47802@users.noreply.github.com> Date: Tue, 29 Oct 2024 08:47:24 +0900 Subject: [PATCH] Fix o1 settings --- aider/models.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/aider/models.py b/aider/models.py index 9069e5103..a2800c7d1 100644 --- a/aider/models.py +++ b/aider/models.py @@ -778,6 +778,11 @@ class Model(ModelSettings): self.examples_as_sys_msg = True self.reminder = "user" + if "o1-" in model: + self.use_system_prompt = False + self.use_temperature = False + self.streaming = False + # use the defaults if self.edit_format == "diff": self.use_repo_map = True