Commit Graph

1 Commits

Author SHA1 Message Date
Anthony
9fc122a7f0 fix: add retry logic for transient unknown errors from LLM providers
When providers return generic 'unknown error' messages (often from
temporary service issues), clawdbot now automatically retries up to
2 times with exponential backoff (1s, 2s).

- Add isRetryableUnknownError() to detect generic error patterns
- Add retry loop in runEmbeddedPiAgent for these transient errors
- Add unit tests for the new error detection logic
2026-01-26 15:01:32 +01:00