
v8.0.51 上,额度已经重置、本地还回同一个要等 50 小时的 429;会话粘性又把流量钉在原来的号上。两份补丁都还没进版,正文给的是今天能动的处置顺序。
usage_limit_reached 之后,每个 /v1/responses 大约 40 毫秒就被打回,请求根本没出网。Retry-After: 180685,体里 code 是 model_cooldown、reset_time 是 50h11m25s。Reconnecting...,接着是 exceeded retry limit, last status: 429 Too Many Requests,中间那一段像卡住。error.type 为 usage_limit_reached、带 plan_type 与 resets_at,和我们自己的 model_cooldown 是两种东西。"The stale cooldown after a reset is separate, and this PR doesn't change it. The proxy still holds the cooldown until theresets_atit recorded; it just reports it in a form Codex recognises."

sdk/cliproxy/auth/conductor_cooldown.go 第 480 行起的 clearCooldownStateForAuth:第 484–486 行遇到 401 类失败直接返回,第 488–493 行才清 Unavailable、NextRetryAfter 与额度。true,冷却会按凭证落成 .cds 文件,重启会把旧冷却原样读回来。routing.cooldown.disable-cooling: true。代价是别的号出问题也不会被隔离,适合临时救急。
config.example.yaml 第 172–175 行:会话一旦绑定,即使更高优先级的凭证恢复也继续用它;优先级只决定第一次绑定、没有会话的请求、以及故障转移之后的重绑。第 175 行是 session-affinity: false,默认关。routing.session-affinity-overrides.<provider>.precedence,取值 session(缺省)或 priority,并且必须先开着会话粘性。12priority 之后:新会话仍走高优先级;已有会话只要自己还在最高档就保持;更高一档恢复或优先级变了,下一次请求就切过去。mixed 这种聚合名会被拒,要按具体 provider 写;模型支持、冷却、重试排除与显式钉住仍是最高权威。bindingInHighestPriority 上:池子里只要还有一档比它高的可用候选,就返回 false,下次请求重绑。13
feat/provider-affinity-priority 的 sdk/cliproxy/auth/selector_affinity_policy.go 第 68 行起:第 87–90 行遍历可用候选,只要有一个优先级更高就返回 false。session-affinity,或者等这张补丁合并、再等它进发行版。| 条目 | 改了什么 | 规模 | 状态 |
|---|---|---|---|
| #7184 | 把用尽的 Codex 额度报成 Codex 认得的终局回执 | 9 文件 +854/−10、2 提交 | open、clean、评审 failed 且记着未闭合 |
| #7195 | 会话粘性之下让凭证优先级说话 | 23 文件 +1128/−34、1 提交 | open、clean、评审 completed 但有未闭合 |
| #5764 | 给 usage_limit_reached 引起的冷却封上限 | 2 文件 +12/−2、2 提交 | open,今天又重基一次 |
dev,都没合并,也都不在 v8.0.51 里。14model_cooldown 与 reset_time。流量回不到高优先级号——看 session-affinity 开着没、池子里有没有多档。save-cooldown-status 是 false。粘性那件今天只有关掉粘性这一条路。precedence: priority 这个键。github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
status.openai.com
status.anthropic.com
status.cloud.google.com
codex-reset.com
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.