mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
fix: Ensure default model is set only if not already specified
This commit is contained in:
parent
dc6040adda
commit
5e40974fdd
1 changed files with 2 additions and 1 deletions
|
@ -121,5 +121,6 @@ def handle_deprecated_model_args(args, io):
|
|||
)
|
||||
|
||||
# Set the model
|
||||
args.model = model_name
|
||||
if not args.model:
|
||||
args.model = model_name
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue