litellm-mirror/litellm/tests/test_load_test_model.py
2023-08-11 18:20:24 -07:00

9 lines
No EOL
263 B
Python

import sys, os
import traceback
sys.path.insert(0, os.path.abspath('../..')) # Adds the parent directory to the system path
import litellm
from litellm import load_test_model
model="gpt-3.5-turbo"
result = load_test_model(model=model, num_calls=5)
print(result)