Skip to content

Commit 0e0d522

Browse files
committed
fix
1 parent 6c8fcb4 commit 0e0d522

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/agents-core/src/usage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ export class Usage {
6262
this.outputTokens += newUsage.outputTokens;
6363
this.totalTokens += newUsage.totalTokens;
6464
if (newUsage.inputTokensDetails) {
65-
// The type does not allow unddefined, but it could happen runtime
65+
// The type does not allow undefined, but it could happen runtime
6666
this.inputTokensDetails.push(...newUsage.inputTokensDetails);
6767
}
6868
if (newUsage.outputTokensDetails) {
69-
// The type does not allow unddefined, but it could happen runtime
69+
// The type does not allow undefined, but it could happen runtime
7070
this.outputTokensDetails.push(...newUsage.outputTokensDetails);
7171
}
7272
}

0 commit comments

Comments
 (0)