PulseAugur
实时 23:25:27
Français(FR) Claude Code retries rate-limit errors for API keys, not for your Max plan

Claude Code 的 429 错误处理因订阅级别而异

深入分析 Claude Code 客户端的二进制文件,发现一个特定的代码分支导致基于订阅的用户(Pro/Max 计划)在遇到 429 速率限制错误时遇到会话终止。这与 API 密钥或企业用户不同,后者可以自动重试相同的错误。作者认为,虽然不重试使用窗口限制是一个有效的选择,但目前的实现未能区分这些限制和更短暂的每分钟速率限制,后者通常是可重试的,并由其他 Anthropic 客户端处理。这种区别导致了对固定费率订阅者来说不太宽容的体验。 AI

影响 这种差异化的错误处理可能导致用户感到沮丧,并影响基于订阅用户的 Claude Code 的感知可靠性。

排序理由 对特定软件客户端在错误处理方面的行为进行分析。

在 dev.to — LLM tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Claude Code 的 429 错误处理因订阅级别而异

报道来源 [1]

  1. dev.to — LLM tag TIER_1 Français(FR) · Alexey Pelykh ·

    Claude Code retries rate-limit errors for API keys, not for your Max plan

    <p>A long agent run on a Max plan, and a single 429 ends it. Not pauses it. <strong>Ends it.</strong> The turn dies, the work in flight is gone, and there is no backoff, no retry, no countdown. The same error, the exact same HTTP 429, on an API key would have been retried silentl…