diff options
| author | Adam Malczewski <[email protected]> | 2026-06-26 19:03:09 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-26 19:03:09 +0900 |
| commit | e8b4bf1fe4fedc48bd0dc56b5745467542946474 (patch) | |
| tree | 1d7c31f23bc7fccdf3052dc59ff8da63700eade8 /notes/opencode-agents.md | |
| parent | 9b91d1bca83e7599fb7d7de6038cedf186e61764 (diff) | |
| download | dispatch-e8b4bf1fe4fedc48bd0dc56b5745467542946474.tar.gz dispatch-e8b4bf1fe4fedc48bd0dc56b5745467542946474.zip | |
fix(kernel): disable MAX_STEPS limit (0 = unlimited)
Agents were being cut off mid-task at 50 steps. The MAX_STEPS=50
hardcoded limit was silently terminating turns while the model was
actively making tool calls, leaving conversations idle with a
dangling tool-result as the last chunk.
Setting MAX_STEPS to 0 disables the limit — the loop runs until the
model stops making tool calls naturally or the abort signal fires.
The max-steps code path is preserved for when MAX_STEPS > 0.
Diffstat (limited to 'notes/opencode-agents.md')
0 files changed, 0 insertions, 0 deletions
