mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-09 06:05:00 +00:00
copy
This commit is contained in:
parent
6cecbd02d6
commit
aac110f078
4 changed files with 58 additions and 92 deletions
|
@ -205,6 +205,7 @@ def main(argv=None, input=None, output=None, force_git_root=None):
|
|||
core_group.add_argument(
|
||||
"--4turbo",
|
||||
"--4-turbo",
|
||||
"--4-turbo-vision",
|
||||
action="store_const",
|
||||
dest="model",
|
||||
const=default_4_turbo_model,
|
||||
|
|
|
@ -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