MCPcopy Create free account
hub / github.com/WebMCP-org/chrome-devtools-quickstart / addImageCall

Function addImageCall

benchmark/helpers.ts:376–381  ·  view source on GitHub ↗
(usage: TokenUsage, imageTokens: number)

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected