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

Method getUsage

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

Source from the content-addressed store, hash-verified

83 return this.maxIterations;
84 }
85
86 getIterations(): number {
87 return this.iterations;
88 }
89
90 /** True when a finite cap is set and we have just crossed it. */
91 atIterationCap(): boolean {
92 return this.maxIterations > 0 && this.iterations > this.maxIterations;
93 }
94
95 /** Raise the fuse and allow another 80% warning against the new number. */

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected