Skip to content

Commit e871c8b

Browse files
committed
ruff
1 parent 923661f commit e871c8b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_llama_index_callbacks.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# test_llama_index.py
22
import pytest
33
from tokencost.callbacks import llama_index
4-
from llama_index.core.callbacks.schema import CBEventType, EventPayload
5-
from unittest.mock import MagicMock
4+
from llama_index.core.callbacks.schema import EventPayload
65

76
# Mock the calculate_prompt_cost and calculate_completion_cost functions
87

0 commit comments

Comments
 (0)