MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / Iteration

Method Iteration

internal/loop/loop.go:131–135  ·  view source on GitHub ↗

Iteration returns the current iteration number.

()

Source from the content-addressed store, hash-verified

129
130// Iteration returns the current iteration number.
131func (l *Loop) Iteration() int {
132 l.mu.Lock()
133 defer l.mu.Unlock()
134 return l.iteration
135}
136
137// Run executes the agent loop until completion or max iterations.
138func (l *Loop) Run(ctx context.Context) error {

Callers 1

TestLoop_IterationFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestLoop_IterationFunction · 0.76