Skip to content

Commit d244273

Browse files
committed
fix stats
1 parent 29a8a68 commit d244273

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/inferencesh/models/llm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ def update_from_chunk(self, chunk: Dict[str, Any], timing: Any) -> None:
238238
"""Update response state from a chunk."""
239239
# Update usage stats if present
240240
if "usage" in chunk:
241+
print(chunk["usage"])
241242
usage = chunk["usage"]
242243
if usage is not None:
243244
self.usage_stats = {

0 commit comments

Comments
 (0)