mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
update command line arg
This commit is contained in:
parent
d91707f73e
commit
acccbb1512
2 changed files with 3 additions and 3 deletions
|
@ -136,7 +136,7 @@ def get_parser(default_config_files, git_root):
|
|||
help="Specify the OpenAI organization ID",
|
||||
)
|
||||
group.add_argument(
|
||||
"--model_file",
|
||||
"--model-file",
|
||||
metavar="MODEL_FILE",
|
||||
default=None,
|
||||
help={
|
||||
|
|
|
@ -337,8 +337,8 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
model_def_files.append(Path.home() / model_def_fname) # homedir
|
||||
if git_root:
|
||||
model_def_files.append(Path(git_root) / model_def_fname) # git root
|
||||
if args.models:
|
||||
model_def_files.append(args.models)
|
||||
if args.model_file:
|
||||
model_def_files.append(args.model_file)
|
||||
model_def_files = list(map(str, model_def_files))
|
||||
models.register_models(model_def_files)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue