nnnn / litellm /tests /test_get_model_file.py
nonhuman's picture
Upload 165 files
395201c
raw
history blame
284 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}")