Skip to content

Comments

fix(agents): treat provider request-aborted as timeout for fallback#1576

Merged
steipete merged 7 commits intoopenclaw:mainfrom
lc0rp-contrib:main
Jan 24, 2026
Merged

fix(agents): treat provider request-aborted as timeout for fallback#1576
steipete merged 7 commits intoopenclaw:mainfrom
lc0rp-contrib:main

Conversation

@lc0rp
Copy link
Contributor

@lc0rp lc0rp commented Jan 24, 2026

Implements

Root cause

  • Provider aborts surfaced as AbortError with “request was aborted”, which the fallback classifier treated as user aborts instead of timeouts, so model failover never triggered and runs stopped on the primary.

Fix

  • Treat specific provider AbortError messages as timeouts in failover classification so the runner triggers model fallback
  • Add e2e to lock the regression.

Checklist

  • Added test coverage and tested
  • pnpm lint
  • Tested and working with my clawdbot instance

Closes #1371

@lc0rp lc0rp marked this pull request as ready for review January 24, 2026 10:28
@steipete steipete self-assigned this Jan 24, 2026
@steipete steipete merged commit be1cdc9 into openclaw:main Jan 24, 2026
20 of 22 checks passed
@steipete
Copy link
Contributor

Landed via temp rebase onto main.\n\n- Gate: pnpm lint && pnpm build && pnpm test\n- Land commit: be1cdc9\n- Merge commit: be1cdc9\n\nThanks @lc0rp!

jamie-dit referenced this pull request in jamie-dit/zulip-claw Feb 20, 2026
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.

Fallback not triggered when all profiles of a provider timeout

2 participants