mirror of
https://github.com/Aider-AI/aider
synced 2026-04-25 17:15:07 +02:00
feat: Add reasoning_effort setting support for GPT-5 models
This commit is contained in:
committed by
Paul Gauthier (aider)
parent
ceb81369ea
commit
3a6f217dcd
@@ -440,6 +440,8 @@ class Model(ModelSettings):
|
||||
if last_segment in ("gpt-5", "gpt-5-2025-08-07"):
|
||||
self.use_temperature = False
|
||||
self.edit_format = "diff"
|
||||
if "reasoning_effort" not in self.accepts_settings:
|
||||
self.accepts_settings.append("reasoning_effort")
|
||||
return # <--
|
||||
|
||||
if "/o1-mini" in model:
|
||||
|
||||
Reference in New Issue
Block a user