MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / grandTotal

Function grandTotal

packages/kosong/src/usage.ts:28–30  ·  view source on GitHub ↗
(usage: TokenUsage)

Source from the content-addressed store, hash-verified

26 * Compute grand total tokens (input total + output).
27 */
28export function grandTotal(usage: TokenUsage): number {
29 return inputTotal(usage) + usage.output;
30}
31
32/**
33 * Create a zero-valued TokenUsage.

Callers 2

usage.test.tsFile · 0.90
runStepLoopMethod · 0.90

Calls 1

inputTotalFunction · 0.85

Tested by

no test coverage detected