mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
Update utils.py
This commit is contained in:
parent
36936976c6
commit
75df24c0b7
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue