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

Function getTurnOutputTokens

src/bootstrap/state.ts:742–744  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

740let outputTokensAtTurnStart = 0
741let currentTurnTokenBudget: number | null = null
742export function getTurnOutputTokens(): number {
743 return getTotalOutputTokens() - outputTokensAtTurnStart
744}
745export function getCurrentTurnTokenBudget(): number | null {
746 return currentTurnTokenBudget
747}

Callers 4

queryLoopFunction · 0.85
SpinnerWithVerbInnerFunction · 0.85
REPLFunction · 0.85

Calls 1

getTotalOutputTokensFunction · 0.85

Tested by

no test coverage detected