style: Format thinking_tokens model check with multiline condition

Co-authored-by: aider (gpt-5.4) <aider@aider.chat>
This commit is contained in:
Paul Gauthier
2026-04-23 07:12:19 -07:00
parent 93dfacc85e
commit 65cb4d3568

View File

@@ -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 # <--