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

This commit is contained in:
Paul Gauthier (aider) 2024-09-25 11:09:56 -07:00
parent 6d19abf7ec
commit 888d60d472
3 changed files with 17 additions and 2 deletions

View file

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