
四仓本窗口零发版,四条新条目里最该动手的是:凭证耗尽时 Responses WebSocket 不返 429 而是裸关连接,一句用户消息换来约 21 次重连、30–45 秒空等,另附三条翻译层与 Antigravity 号池风险的可执行处置。
responses_websockets=2026-02-06,配置里 request-retry: 0、disable-cooling: true。{"error":{"type":"usage_limit_reached"}},但每条用户消息最终变成约 21 次失败的上游执行,耗时 30 到 45 秒。upstream execution session closed。shouldExposeResponsesUpstreamError 只放行两类:凭证终局错误,或者请求本身有形状问题6。IsRequestFault 在 402 与 429 上直接返回 false,注释说这两种状态是权威的、凭证必须留给冷却与轮换7。
sdk/api/handlers/openai/openai_responses_websocket_forward.go 第 386–424 行:分类函数只把请求形状类错误交出去;静默分支先写一条 timeline 的 disconnect,再调 closeWithoutError(),注释明写「否则事后无法诊断」。6
internal/clienterror/client_error.go 第 76–99 行:IsRequestFault 在 402 与 429 上直接返回 false,注释写「凭证必须仍然可冷却、可轮换」——这正是 429 落进静默分支的直接原因。7quota exhausted,注释写「凭证轮换已经跑过并输了,客户端只需要重连,因此不产生下游错误」10。routing.cooldown.disable-cooling 改不了这件事:它决定本地要不要给凭证记冷却,不影响一条已建立的流在凭证耗尽时被裸关。responses_websockets,请求打到 /v1/responses,耗尽时能拿到 429 与 Retry-After,至少知道该等多久。disconnect 事件是这类静默失败留下的唯一痕迹。choices[0].delta.content 的类型化 parts 数组,例如 {"type":"thinking",...} 与 {"type":"text",...}。text_delta 里看到原始 JSON,Claude Code 直接把它当正文渲染。
openai_claude_response.go 第 284–301 行:第 286 行只判「存在且非空」,随后三处都调 content.String(),没有任何数组分支。15delta.reasoning_content、delta.reasoning、delta.reasoning_details。zai-glm-5-3,但判断依据是上游响应的形状,不是模型名。#8521 主张,Antigravity 的 INTERNAL 500 惩罚作用在整个账号上,图像侧连续失败会把文本模型一起停掉17。SetError18。
antigravity_internal500_penalty.go 第 13–70 行:第 15–17 行是真实的 30 分钟 / 2 小时 / 第三轮起,第 32–33 行注释还写着旧的 10 分钟 / 10 小时;两个日志键 internal500_temp_unschedulable 与 internal500_account_disabled 也在同一屏。18error.code 为 500、消息是 Internal error encountered.、status 为 INTERNAL,四个条件同时成立。internal500_temp_unschedulable 与 internal500_account_disabled,都带 account_id 与 consecutive_count。DELETE /api/v1/admin/accounts/{id}/temp-unschedulable;第三档已经 SetError,要用 POST /api/v1/admin/accounts/{id}/clear-error;批量用 batch-clear-error20。#8521 的改法:图像模型的 500 只给该模型设模型级限流(默认 2 分钟),不计账号计数;文本保持原档位,三档时长可用环境变量覆盖。
antigravity_quota_fetcher.go 第 143–156 行:utilization 由 remainingFraction 直接换算,ResetTime 只有一个——两个窗口里更紧的那个决定这个数字,所以「99%」既可能是周额度见底,也可能只是 5 小时用满。22ResetTime 的距离:5 小时档在几小时内重置,周档是数天。/usage 分组读数对照,它调的正是 v1internal:retrieveUserQuotaSummary。#8522 会补上分组字段:每组 5 小时与每周各一份利用率与重置时刻,前端按 G·5h / G·周 / C·5h / C·周 / A·周 显示,旧的按模型字段保持不变。v8.0.55,北京 11-05 02:03 发布;tag、main、dev 与 HEAD 指向同一个提交 e6e5708e。v0.2.19,北京 10-28 18:16 发布;main 已到 876b96d2。v2.1.23,北京 11-03 19:35 发布;tag 与 main 同提交,dev 已到 20a50532。v3.1.3,北京 11-04 10:22 发布;main 已到 a4bbb455。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
community.openai.com
reddit.com
reddit.com
reddit.com
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.