mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
copy
This commit is contained in:
parent
6cecbd02d6
commit
aac110f078
4 changed files with 58 additions and 92 deletions
|
@ -232,12 +232,12 @@ class Model:
|
|||
|
||||
|
||||
def check_model_name(model):
|
||||
res = f"Unknown model: {model}"
|
||||
res = f"Unknown model {model}"
|
||||
|
||||
possible_matches = fuzzy_match_models(model)
|
||||
|
||||
if possible_matches:
|
||||
res += "\n\nDid you mean one of these:\n"
|
||||
res += ", did you mean one of these?"
|
||||
for match in possible_matches:
|
||||
res += "\n- " + match
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue