mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +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:
|
with open(config_file, 'r') as file:
|
||||||
config = yaml.safe_load(file)
|
config = yaml.safe_load(file)
|
||||||
else:
|
else:
|
||||||
print(f"Config file '{config_file}' not found.")
|
pass
|
||||||
except:
|
except:
|
||||||
print(f"Config file '{config_file}' not found.")
|
pass
|
||||||
|
|
||||||
## MODEL LIST
|
## MODEL LIST
|
||||||
model_list = config.get('model_list', None)
|
model_list = config.get('model_list', None)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue