mirror of
https://github.com/Aider-AI/aider
synced 2026-04-25 17:15:07 +02:00
style: Format thinking_tokens model check with multiline condition
Co-authored-by: aider (gpt-5.4) <aider@aider.chat>
This commit is contained in:
@@ -524,7 +524,11 @@ class Model(ModelSettings):
|
||||
self.examples_as_sys_msg = False
|
||||
if "opus-4-" in model:
|
||||
self.use_temperature = False
|
||||
if "thinking_tokens" not in self.accepts_settings and "4.7" not in model and "4-7" not in model:
|
||||
if (
|
||||
"thinking_tokens" not in self.accepts_settings
|
||||
and "4.7" not in model
|
||||
and "4-7" not in model
|
||||
):
|
||||
self.accepts_settings.append("thinking_tokens")
|
||||
return # <--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user