litellm/tests/local_testing/test_validate_environment.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
297 B
Python
Raw Normal View History

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