mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
decouple model list from hardcoded package variables
This commit is contained in:
parent
1ad9d7a98a
commit
93c41e8f6d
4 changed files with 43 additions and 86 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue