mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +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...
|
# Do it the slow way...
|
||||||
try:
|
try:
|
||||||
self.info = litellm.get_model_info(model)
|
return litellm.get_model_info(model)
|
||||||
except Exception:
|
except Exception:
|
||||||
self.info = dict()
|
return dict()
|
||||||
|
|
||||||
def configure_model_settings(self, model):
|
def configure_model_settings(self, model):
|
||||||
for ms in MODEL_SETTINGS:
|
for ms in MODEL_SETTINGS:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue