Description
When a provider returns a non-transient 429 (e.g. GitHub Copilot "exceeded your weekly rate limit"), the session retries forever instead of stopping. User has to press Esc to exit.
The AI SDK marks all 429s as isRetryable: true, so retryable() never returns undefined for these errors.
Plugins
No response
OpenCode version
No response
Steps to reproduce
- Use a provider (e.g. GitHub Copilot) until the weekly rate limit is exhausted
- Send any message
- Session keeps showing "attempt 1", "attempt 2"... indefinitely
Screenshot and/or share link
Operating System
Windows 11
Terminal
Windows Terminal
Description
When a provider returns a non-transient 429 (e.g. GitHub Copilot "exceeded your weekly rate limit"), the session retries forever instead of stopping. User has to press Esc to exit.
The AI SDK marks all 429s as isRetryable: true, so retryable() never returns undefined for these errors.
Plugins
No response
OpenCode version
No response
Steps to reproduce
Screenshot and/or share link
Operating System
Windows 11
Terminal
Windows Terminal