mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
update exception mapping and get model cost map
This commit is contained in:
parent
e03d442e8f
commit
73bb1b96e9
9 changed files with 54 additions and 96 deletions
10
litellm/tests/test_get_model_cost_map.py
Normal file
10
litellm/tests/test_get_model_cost_map.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
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
|
||||
|
||||
print(get_max_tokens("gpt-3.5-turbo"))
|
Loading…
Add table
Add a link
Reference in a new issue