Skip to content

Commit 19d5fa0

Browse files
authored
Apply suggestion from @seratch
1 parent 1ab4b8e commit 19d5fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agents/usage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def add(self, other: "Usage") -> None:
8585
# Automatically preserve request_usage_entries.
8686
# If the other Usage represents a single request with tokens, record it.
8787
if other.requests == 1 and other.total_tokens > 0:
88-
individual_usage = RequestUsage(
88+
request_usage = RequestUsage(
8989
input_tokens=other.input_tokens,
9090
output_tokens=other.output_tokens,
9191
total_tokens=other.total_tokens,

0 commit comments

Comments
 (0)