MCPcopy Index your code
hub / github.com/simstudioai/sim / createPiTotals

Function createPiTotals

apps/sim/executor/handlers/pi/events.ts:36–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35/** Creates an empty totals accumulator. */
36export function createPiTotals(): PiRunTotals {
37 return { finalText: '', inputTokens: 0, outputTokens: 0, toolCalls: [] }
38}
39
40/**
41 * Folds a normalized event into the totals. Text deltas accumulate into

Callers 3

events.test.tsFile · 0.90
runCloudPiFunction · 0.90
runLocalPiFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected