Update utils.py

This commit is contained in:
Krish Dholakia 2023-10-25 14:30:52 -07:00 committed by GitHub
parent 36936976c6
commit 75df24c0b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)