Skip to content

Commit

Permalink
style: Apply linter formatting to main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Jan 31, 2025
1 parent 3fa7963 commit 5c87787
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aider/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,11 +779,11 @@ def get_io(pretty):

# 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"):
Expand Down

0 comments on commit 5c87787

Please sign in to comment.