adding hosted get model list

This commit is contained in:
Krrish Dholakia 2023-08-22 07:11:49 -07:00
parent 909383bfb3
commit fd2eeaa6bc
6 changed files with 31 additions and 4 deletions

View file

@ -0,0 +1,8 @@
import os, sys, traceback
sys.path.insert(
0, os.path.abspath("../..")
) # Adds the parent directory to the system path
from litellm import get_model_list
print(get_model_list())