decouple model list from hardcoded package variables

This commit is contained in:
Krrish Dholakia 2023-09-20 14:16:53 -07:00
parent 1ad9d7a98a
commit 93c41e8f6d
4 changed files with 43 additions and 86 deletions

View file

@ -5,6 +5,9 @@ sys.path.insert(
0, os.path.abspath("../..")
) # Adds the parent directory to the system path
import time
from litellm import get_max_tokens
from litellm import get_max_tokens, model_cost, open_ai_chat_completion_models
print(get_max_tokens("gpt-3.5-turbo"))
print(get_max_tokens("gpt-3.5-turbo"))
print(model_cost)
print(open_ai_chat_completion_models)