feat: Add --junior-model argument and plumb it into Model()

This commit is contained in:
Paul Gauthier (aider) 2024-09-25 11:03:15 -07:00
parent 11cdc4175f
commit 926b3c9240
3 changed files with 36 additions and 2 deletions

View file

@ -190,6 +190,14 @@ def get_parser(default_config_files, git_root):
" depends on --model)"
),
)
group.add_argument(
"--junior-model",
metavar="JUNIOR_MODEL",
default=None,
help=(
"Specify the model to use for junior tasks (default depends on --model)"
),
)
group.add_argument(
"--show-model-warnings",
action=argparse.BooleanOptionalAction,