Update utils.py

This commit is contained in:
Krish Dholakia 2023-10-25 14:30:52 -07:00 committed by GitHub
parent d0df8249e9
commit 9c9940baca

View file

@ -52,9 +52,9 @@ def load_router_config(router: Optional[litellm.Router]):
with open(config_file, 'r') as file:
config = yaml.safe_load(file)
else:
print(f"Config file '{config_file}' not found.")
pass
except:
print(f"Config file '{config_file}' not found.")
pass
## MODEL LIST
model_list = config.get('model_list', None)