mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
Fix o1 settings
This commit is contained in:
parent
ed4ad45e3d
commit
fcdf998fac
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue