Description
Agent can enter infinite reasoning loops. No maximum step limit. Server hangs indefinitely while agent thinks.
Expected Behavior
Implement max steps limit. Timeout after N steps or M seconds.
Actual Behavior
File: src/agent/loop.py
No loop limit: while True: step()
GSSoC Points Estimate: Level 2 (Performance/Reliability)
Suggested Labels
- gssoc:approved
- type:bug
- severity:high
- area:performance
Description
Agent can enter infinite reasoning loops. No maximum step limit. Server hangs indefinitely while agent thinks.
Expected Behavior
Implement max steps limit. Timeout after N steps or M seconds.
Actual Behavior
File: src/agent/loop.py
No loop limit: while True: step()
GSSoC Points Estimate: Level 2 (Performance/Reliability)
Suggested Labels