From e92a1a662d43f74bb6cfed6b41265fdb3857ec38 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 12 Jul 2024 17:04:59 +0100 Subject: [PATCH] Only show the fq model name for --models #812 --- .flake8 | 2 +- aider/models.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.flake8 b/.flake8 index 3963261f7..ae8f97285 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,3 @@ [flake8] -ignore = E203,W503 +ignore = E203,W503,E231 max-line-length = 100 diff --git a/aider/models.py b/aider/models.py index 0667f8183..c65da38ae 100644 --- a/aider/models.py +++ b/aider/models.py @@ -709,10 +709,7 @@ def print_matching_models(io, search): io.tool_output(f'Models which match "{search}":') for model in matches: fq, m = model - if fq == m: - io.tool_output(f"- {m}") - else: - io.tool_output(f"- {m} ({fq})") + io.tool_output(f"- {fq}") else: io.tool_output(f'No models match "{search}".')