MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / incrementIteration

Method incrementIteration

src/agent/budget.ts:39–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 consume(usage: { tokens?: number; costUsd?: number }): void {
38 this.tokens += usage.tokens ?? 0;
39 this.costUsd += usage.costUsd ?? 0;
40 this.lastProgressAt = Date.now();
41 }
42
43 incrementIteration(): void {
44 this.iterations++;

Callers 2

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected