File size: 284 Bytes
395201c
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
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}")