mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
style: Format code to comply with linter rules
This commit is contained in:
parent
7097e62582
commit
f247927244
1 changed files with 4 additions and 3 deletions
|
@ -799,12 +799,13 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
warned = False
|
warned = False
|
||||||
settings_to_check = [
|
settings_to_check = [
|
||||||
{"arg": args.reasoning_effort, "name": "reasoning_effort"},
|
{"arg": args.reasoning_effort, "name": "reasoning_effort"},
|
||||||
{"arg": args.thinking_tokens, "name": "thinking_tokens"}
|
{"arg": args.thinking_tokens, "name": "thinking_tokens"},
|
||||||
]
|
]
|
||||||
|
|
||||||
for setting in settings_to_check:
|
for setting in settings_to_check:
|
||||||
if setting["arg"] is not None and (
|
if setting["arg"] is not None and (
|
||||||
not main_model.accepts_settings or setting["name"] not in main_model.accepts_settings
|
not main_model.accepts_settings
|
||||||
|
or setting["name"] not in main_model.accepts_settings
|
||||||
):
|
):
|
||||||
io.tool_warning(
|
io.tool_warning(
|
||||||
f"Warning: The model {main_model.name} may not support the '{setting['name']}'"
|
f"Warning: The model {main_model.name} may not support the '{setting['name']}'"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue