mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
fix: improve o1 model detection with startswith check
This commit is contained in:
parent
a4be01b474
commit
b40ff2a601
1 changed files with 1 additions and 1 deletions
|
@ -778,7 +778,7 @@ class Model(ModelSettings):
|
|||
self.examples_as_sys_msg = True
|
||||
self.reminder = "user"
|
||||
|
||||
if "o1-" in model:
|
||||
if model.startswith("o1-") or "/o1-" in model:
|
||||
self.use_system_prompt = False
|
||||
self.use_temperature = False
|
||||
self.streaming = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue