mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 19:55:00 +00:00
Use fq model name in --models search
This commit is contained in:
parent
25b8d6fec8
commit
89a7b3470a
3 changed files with 48 additions and 29 deletions
|
@ -574,7 +574,11 @@ def main(argv=None, input=None, output=None, force_git_root=None):
|
|||
if matches:
|
||||
io.tool_output(f'Models which match "{args.models}":')
|
||||
for model in matches:
|
||||
io.tool_output(f"- {model}")
|
||||
fq, m = model
|
||||
if fq == m:
|
||||
io.tool_output(f"- {m}")
|
||||
else:
|
||||
io.tool_output(f"- {m} ({fq})")
|
||||
else:
|
||||
io.tool_output(f'No models match "{args.models}".')
|
||||
return 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue