mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
Fix bad Model.info #788
This commit is contained in:
parent
790c2f0330
commit
362eb1aa07
1 changed files with 2 additions and 2 deletions
|
@ -402,9 +402,9 @@ class Model:
|
|||
|
||||
# Do it the slow way...
|
||||
try:
|
||||
self.info = litellm.get_model_info(model)
|
||||
return litellm.get_model_info(model)
|
||||
except Exception:
|
||||
self.info = dict()
|
||||
return dict()
|
||||
|
||||
def configure_model_settings(self, model):
|
||||
for ms in MODEL_SETTINGS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue