MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getCurrentTurnTokenBudget

Function getCurrentTurnTokenBudget

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

Source from the content-addressed store, hash-verified

727 return getTotalOutputTokens() - outputTokensAtTurnStart
728}
729export function getCurrentTurnTokenBudget(): number | null {
730 return currentTurnTokenBudget
731}
732let budgetContinuationCount = 0
733export function snapshotOutputTokensForTurn(budget: number | null): void {
734 outputTokensAtTurnStart = getTotalOutputTokens()

Callers 4

queryLoopFunction · 0.85
SpinnerWithVerbInnerFunction · 0.85
REPLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected