mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
Only show the fq model name for --models #812
This commit is contained in:
parent
5ccbfd6f3c
commit
e92a1a662d
2 changed files with 2 additions and 5 deletions
2
.flake8
2
.flake8
|
@ -1,3 +1,3 @@
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E203,W503
|
ignore = E203,W503,E231
|
||||||
max-line-length = 100
|
max-line-length = 100
|
||||||
|
|
|
@ -709,10 +709,7 @@ def print_matching_models(io, search):
|
||||||
io.tool_output(f'Models which match "{search}":')
|
io.tool_output(f'Models which match "{search}":')
|
||||||
for model in matches:
|
for model in matches:
|
||||||
fq, m = model
|
fq, m = model
|
||||||
if fq == m:
|
io.tool_output(f"- {fq}")
|
||||||
io.tool_output(f"- {m}")
|
|
||||||
else:
|
|
||||||
io.tool_output(f"- {m} ({fq})")
|
|
||||||
else:
|
else:
|
||||||
io.tool_output(f'No models match "{search}".')
|
io.tool_output(f'No models match "{search}".')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue