mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
Added a fuzzy model matching function to find models by name.
This commit is contained in:
parent
7ec4de865d
commit
7ef10c56a2
1 changed files with 4 additions and 0 deletions
|
@ -232,3 +232,7 @@ class Model:
|
|||
"""
|
||||
with Image.open(fname) as img:
|
||||
return img.size
|
||||
|
||||
|
||||
def fuzzy_match_models(name):
|
||||
models = litellm.most_cost.keys()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue