Commit e718b72
guoyangzhen
fix(agents): generalize rate-limit retry for all LLM providers
Replace OpenAI-specific RateLimitError catch with a generic
_is_rate_limit_error() helper that detects rate limits from:
- OpenAI (RateLimitError)
- Anthropic (status_code=429)
- Google (ResourceExhausted / 429)
- Any provider with 'rate limit' in error message
Fixes #38821 parent 7446978 commit e718b72
1 file changed
Lines changed: 0 additions & 6430 deletions
0 commit comments