mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35:00 +00:00
style: run linter
This commit is contained in:
parent
926b3c9240
commit
e74e76e51c
3 changed files with 17 additions and 8 deletions
|
@ -194,9 +194,7 @@ def get_parser(default_config_files, git_root):
|
||||||
"--junior-model",
|
"--junior-model",
|
||||||
metavar="JUNIOR_MODEL",
|
metavar="JUNIOR_MODEL",
|
||||||
default=None,
|
default=None,
|
||||||
help=(
|
help="Specify the model to use for junior tasks (default depends on --model)",
|
||||||
"Specify the model to use for junior tasks (default depends on --model)"
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
"--show-model-warnings",
|
"--show-model-warnings",
|
||||||
|
@ -355,19 +353,28 @@ def get_parser(default_config_files, git_root):
|
||||||
"--completion-menu-bg-color",
|
"--completion-menu-bg-color",
|
||||||
metavar="COLOR",
|
metavar="COLOR",
|
||||||
default="default",
|
default="default",
|
||||||
help="Set the background color for the completion menu (default: terminal's default background color)",
|
help=(
|
||||||
|
"Set the background color for the completion menu (default: terminal's default"
|
||||||
|
" background color)"
|
||||||
|
),
|
||||||
)
|
)
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
"--completion-menu-current-color",
|
"--completion-menu-current-color",
|
||||||
metavar="COLOR",
|
metavar="COLOR",
|
||||||
default="default",
|
default="default",
|
||||||
help="Set the color for the current item in the completion menu (default: terminal's default background color)",
|
help=(
|
||||||
|
"Set the color for the current item in the completion menu (default: terminal's default"
|
||||||
|
" background color)"
|
||||||
|
),
|
||||||
)
|
)
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
"--completion-menu-current-bg-color",
|
"--completion-menu-current-bg-color",
|
||||||
metavar="COLOR",
|
metavar="COLOR",
|
||||||
default="default",
|
default="default",
|
||||||
help="Set the background color for the current item in the completion menu (default: terminal's default text color)",
|
help=(
|
||||||
|
"Set the background color for the current item in the completion menu (default:"
|
||||||
|
" terminal's default text color)"
|
||||||
|
),
|
||||||
)
|
)
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
"--code-theme",
|
"--code-theme",
|
||||||
|
|
|
@ -533,7 +533,9 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
if os.environ.get("ANTHROPIC_API_KEY"):
|
if os.environ.get("ANTHROPIC_API_KEY"):
|
||||||
args.model = "claude-3-5-sonnet-20240620"
|
args.model = "claude-3-5-sonnet-20240620"
|
||||||
|
|
||||||
main_model = models.Model(args.model, weak_model=args.weak_model, junior_model=args.junior_model)
|
main_model = models.Model(
|
||||||
|
args.model, weak_model=args.weak_model, junior_model=args.junior_model
|
||||||
|
)
|
||||||
|
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
io.tool_output("Model info:")
|
io.tool_output("Model info:")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue