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 6c8fcb4 commit 0e0d522Copy full SHA for 0e0d522
packages/agents-core/src/usage.ts
@@ -62,11 +62,11 @@ export class Usage {
62
this.outputTokens += newUsage.outputTokens;
63
this.totalTokens += newUsage.totalTokens;
64
if (newUsage.inputTokensDetails) {
65
- // The type does not allow unddefined, but it could happen runtime
+ // The type does not allow undefined, but it could happen runtime
66
this.inputTokensDetails.push(...newUsage.inputTokensDetails);
67
}
68
if (newUsage.outputTokensDetails) {
69
70
this.outputTokensDetails.push(...newUsage.outputTokensDetails);
71
72
0 commit comments