- Loop struct and New constructor removed; Run is now a package-level function taking (ctx, Config, State) - Stop condition de-nested: natural stop (no tool calls → MarkComplete + break) and step-limit stop (step >= maxSteps-1 → break) are now separate, sequential checks instead of a redundant outer/inner pair Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| context.go | ||
| loop.go | ||
| session.go | ||
| state.go | ||