litellm-mirror/litellm/tests/test_get_model_cost_map.py
2023-11-04 09:01:26 -07:00

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"))