We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 923661f commit e871c8bCopy full SHA for e871c8b
tests/test_llama_index_callbacks.py
@@ -1,8 +1,7 @@
1
# test_llama_index.py
2
import pytest
3
from tokencost.callbacks import llama_index
4
-from llama_index.core.callbacks.schema import CBEventType, EventPayload
5
-from unittest.mock import MagicMock
+from llama_index.core.callbacks.schema import EventPayload
6
7
# Mock the calculate_prompt_cost and calculate_completion_cost functions
8
0 commit comments