MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / toks

Function toks

scripts/agent-eval/offload-eval-cost.mjs:36–36  ·  view source on GitHub ↗
(u)

Source from the content-addressed store, hash-verified

34const ARMS = (process.env.ARMS || 'nocg,raw,offload').split(',').map((s) => s.trim()).filter(Boolean);
35
36const toks = (u) => (u.inputTokens||0)+(u.outputTokens||0)+(u.cacheReadInputTokens||0)+(u.cacheCreationInputTokens||0);
37
38function analyzeRun(file) {
39 let result = null, agentCalls = 0;

Callers 1

analyzeRunFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected