mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
style: Apply linter formatting to main.py
This commit is contained in:
parent
3fa796382e
commit
5c87787351
1 changed files with 4 additions and 4 deletions
|
@ -779,11 +779,11 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
|
||||
# add --reasoning-effort cli param
|
||||
if args.reasoning_effort is not None:
|
||||
if not hasattr(main_model, 'extra_params'):
|
||||
if not hasattr(main_model, "extra_params"):
|
||||
main_model.extra_params = {}
|
||||
if 'extra_body' not in main_model.extra_params:
|
||||
main_model.extra_params['extra_body'] = {}
|
||||
main_model.extra_params['extra_body']['reasoning_effort'] = args.reasoning_effort
|
||||
if "extra_body" not in main_model.extra_params:
|
||||
main_model.extra_params["extra_body"] = {}
|
||||
main_model.extra_params["extra_body"]["reasoning_effort"] = args.reasoning_effort
|
||||
|
||||
if args.copy_paste and args.edit_format is None:
|
||||
if main_model.edit_format in ("diff", "whole"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue