mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
cache the model list response
This commit is contained in:
parent
4b34eb1414
commit
c8130f9fe0
4 changed files with 7 additions and 3 deletions
|
@ -3,6 +3,9 @@ import os, sys, traceback
|
|||
sys.path.insert(
|
||||
0, os.path.abspath("../..")
|
||||
) # Adds the parent directory to the system path
|
||||
import litellm
|
||||
from litellm import get_model_list
|
||||
|
||||
print(get_model_list())
|
||||
print(get_model_list())
|
||||
print(get_model_list())
|
||||
# print(litellm.model_list)
|
Loading…
Add table
Add a link
Reference in a new issue