litellmlope / litellm /tests /test_get_model_file.py
ka1kuk's picture
Upload 235 files
7db0ae4 verified
raw
history blame
285 Bytes
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}")