MCPcopy Create free account
hub / github.com/Noumena-Network/code / fmt

Function fmt

src/utils/tokenBudget.ts:71–71  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

69 budget: number,
70): string {
71 const fmt = (n: number): string => new Intl.NumberFormat('en-US').format(n)
72 return `Stopped at ${pct}% of token target (${fmt(turnTokens)} / ${fmt(budget)}). Keep working \u2014 do not summarize.`
73}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected