Commit 7ede44d
committed
fix: prevent infinite retry loops, surface subagent errors, handle Bedrock undefined messages
- processor.ts: add MAX_RETRIES=10 cap to prevent infinite retry storms (Issue #1)
- processor.ts: preserve metadata on tool-error state updates (Issue #8)
- error.ts: handle Bedrock literal 'undefined' message for overflow detection (Issue #2)
- task.ts: check result.info.error to surface subagent failures to parent (Issue #3)
- test/provider/error.test.ts: 17 tests covering parseAPICallError + parseStreamError
- docs/09-temp/issues.md: full RCA documentation for 9 identified issues1 parent d532d28 commit 7ede44d
6 files changed
Lines changed: 2613 additions & 1 deletion
File tree
- docs/09-temp
- packages/opencode
- src
- provider
- session
- tool
- test/provider
Large diffs are not rendered by default.
0 commit comments