litellm-mirror/litellm/tests/test_get_model_file.py
2023-12-25 14:11:20 +05:30

12 lines
285 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(url="fake-url"))
except Exception as e:
pytest.fail(f"An exception occurred: {e}")