mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
after loading model list init env variables
This commit is contained in:
parent
9f93793351
commit
dc1575d790
1 changed files with 1 additions and 0 deletions
|
@ -1174,6 +1174,7 @@ def get_model_list():
|
|||
data = response.json()
|
||||
# update model list
|
||||
model_list = data["model_list"]
|
||||
get_all_keys()
|
||||
return model_list
|
||||
return [] # return empty list by default
|
||||
except:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue