mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
19 lines
449 B
Python
19 lines
449 B
Python
import sys, os
|
|
import traceback
|
|
|
|
sys.path.insert(
|
|
0, os.path.abspath("../..")
|
|
) # Adds the parent directory to the system path
|
|
import time
|
|
from litellm import get_max_tokens, model_cost, open_ai_chat_completion_models
|
|
|
|
print(get_max_tokens("gpt-3.5-turbo"))
|
|
|
|
print(model_cost)
|
|
print(open_ai_chat_completion_models)
|
|
# print("\n")
|
|
# print(model_cost)
|
|
# print("\n")
|
|
|
|
# # 🦄🦄🦄🦄🦄🦄🦄🦄
|
|
# print(get_max_tokens("palm/chat-bison"))
|