Skip to content

Dev Build 20250504-2150: 429 rate limit 重试修复

Pre-release
Pre-release

Choose a tag to compare

@xiaomochn xiaomochn released this 04 May 13:47

修复 429 (rate limit / model cooldown) 错误被当作不可重试的 4xx 客户端错误处理的问题。

改动:

  • OpenAIProvider / GeminiProvider / ClaudeProvider: 429 状态码从 NonRetriableException 中排除,改为可重试的 IOException
  • 之前:429 → NonRetriableException → 立即失败 → 飞书收到空回复
  • 之后:429 → IOException → 自动重试(带退避策略)→ 等 cooldown 结束后重新请求