mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +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
|
||||
settings_to_check = [
|
||||
{"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:
|
||||
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(
|
||||
f"Warning: The model {main_model.name} may not support the '{setting['name']}'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue