2023-09-09 10:26:41 +08:00
|
|
|
#### What this tests ####
|
|
|
|
|
# This tests the validate environment function
|
|
|
|
|
|
|
|
|
|
import sys, os
|
|
|
|
|
import traceback
|
|
|
|
|
|
|
|
|
|
sys.path.insert(
|
|
|
|
|
0, os.path.abspath("../..")
|
|
|
|
|
) # Adds the parent directory to the system path
|
|
|
|
|
import time
|
|
|
|
|
import litellm
|
|
|
|
|
|
2023-12-25 16:40:38 +08:00
|
|
|
print(litellm.validate_environment("openai/gpt-3.5-turbo"))
|