update exception mapping and get model cost map

This commit is contained in:
Krrish Dholakia 2023-09-04 11:53:18 -07:00
parent e03d442e8f
commit 73bb1b96e9
9 changed files with 54 additions and 96 deletions

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