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

Function snapshotOutputTokensForTurn

src/bootstrap/state.ts:733–737  ·  view source on GitHub ↗
(budget: number | null)

Source from the content-addressed store, hash-verified

731}
732let budgetContinuationCount = 0
733export function snapshotOutputTokensForTurn(budget: number | null): void {
734 outputTokensAtTurnStart = getTotalOutputTokens()
735 currentTurnTokenBudget = budget
736 budgetContinuationCount = 0
737}
738export function getBudgetContinuationCount(): number {
739 return budgetContinuationCount
740}

Callers 2

onCancelFunction · 0.85
REPLFunction · 0.85

Calls 1

getTotalOutputTokensFunction · 0.85

Tested by

no test coverage detected