mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
Merge pull request #2180 from kAIto47802/fix-o1-system-prompt
This commit is contained in:
commit
16e292b1fd
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