litellm-mirror/litellm/tests/test_get_model_file.py

12 lines
No EOL
270 B
Python

import os, sys, traceback
sys.path.insert(
0, os.path.abspath("../..")
) # Adds the parent directory to the system path
import litellm
import pytest
try:
print(litellm.get_model_cost_map())
except Exception as e:
pytest.fail(f"An exception occurred: {e}")