mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 11:45:00 +00:00
feat: add command-line model alias support via --alias flag
This commit is contained in:
parent
524274fcf4
commit
217e9b96d8
2 changed files with 18 additions and 0 deletions
|
@ -193,6 +193,12 @@ def get_parser(default_config_files, git_root):
|
|||
default=".aider.model.metadata.json",
|
||||
help="Specify a file with context window and costs for unknown models",
|
||||
)
|
||||
group.add_argument(
|
||||
"--alias",
|
||||
action="append",
|
||||
metavar="ALIAS:MODEL",
|
||||
help="Add a model alias (can be used multiple times)",
|
||||
)
|
||||
group.add_argument(
|
||||
"--verify-ssl",
|
||||
action=argparse.BooleanOptionalAction,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue