We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ab4b8e commit 19d5fa0Copy full SHA for 19d5fa0
src/agents/usage.py
@@ -85,7 +85,7 @@ def add(self, other: "Usage") -> None:
85
# Automatically preserve request_usage_entries.
86
# If the other Usage represents a single request with tokens, record it.
87
if other.requests == 1 and other.total_tokens > 0:
88
- individual_usage = RequestUsage(
+ request_usage = RequestUsage(
89
input_tokens=other.input_tokens,
90
output_tokens=other.output_tokens,
91
total_tokens=other.total_tokens,
0 commit comments