(usage: TokenUsage, imageTokens: number)
| 374 | |
| 375 | return { |
| 376 | addImageCall(usage: TokenUsage, imageTokens: number): void { |
| 377 | totalInputTokens += usage.inputTokens; |
| 378 | totalOutputTokens += usage.outputTokens; |
| 379 | // Use the calculated image tokens (from width * height / 750) |
| 380 | imageTokensTotal += imageTokens; |
| 381 | }, |
| 382 | |
| 383 | addTextCall(usage: TokenUsage): void { |
| 384 | totalInputTokens += usage.inputTokens; |
nothing calls this directly
no outgoing calls
no test coverage detected