Fix bad Model.info #788

This commit is contained in:
Paul Gauthier 2024-07-03 16:56:15 -03:00
parent 790c2f0330
commit 362eb1aa07

View file

@ -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: