Skip to content

fix(agent): stop the agent looping on tools forever - #82

Merged
arthware-dev merged 1 commit into
mainfrom
fix/agent-tool-loop-cap
Sep 10, 2026
Merged

arthware-dev merged 1 commit into
mainfrom
fix/agent-tool-loop-cap

Conversation

@arthware-dev

Copy link
Copy Markdown
Contributor

Nothing bounded how many tool calls the agent could make answering one
question, so a bad question could keep it working indefinitely while the
family waited. Caps it at 12.

Salvaged from fix/agent-turn-limits, which is otherwise already on main
via #70. That branch also set "streaming": true for the long-silence
half of the same problem, and a later WIP removed it again, so that half
is deliberately not here.

@arthware-dev
arthware-dev merged commit 7f25030 into main Sep 10, 2026
1 check passed
@arthware-dev
arthware-dev deleted the fix/agent-tool-loop-cap branch September 22, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant