
codex2api 的自动重置在 applicable_available_count=0 时扫不到任何候选,手动重置能当场把 7d 窗口清零;CLIProxyAPI 的 Gemini token 上限已经进 v8.0.41,那两张补丁不必再打;sub2api 的指纹收敛发出的就是 CLI 指纹。
self_serve_business_prolite 账号 7d 已经用到 100%,手里 2 张可用券,但上游 wham/usage 返回的 applicable_available_count 是 0。1candidates=0 consumed=0。他在面板上手动点了一次重置,consume 返回 200、windows_reset=1,7d 从 100% 掉回 0%,账号当场恢复。admin/auto_reset_exhausted.go 第 66 行,两个字段任一为 0 就判为不能重置:available_count <= 0 || applicable_available_count <= 0。2 主干上这一行没改,自己从主干构建的实例一样会撞上。3
james-6-23/codex2api v3.1.1 的 admin/auto_reset_exhausted.go 第 60–84 行:第 66 行那两个字段任一为 0 就 return false,第 69–71 行注释说明只有 7d 长窗口算数,5h 窗口与 Spark 的模型级窗口都不消耗券。auto_reset_credits_on_exhaustion_enabled 默认 0,auto_reset_credits_enabled 也默认 0,auto_reset_credits_before_expiry_min 默认 60。4[auto-reset-credits] 扫描完成,看 candidates 与 consumed 两个数。candidates=0,去面板找到这个账号,点「重置额度」再「确认重置」;接口是 POST /api/accounts/:id/reset-credits。6windows_reset=,数值大于 0 就说明窗口真的被清零了。
admin/auto_reset_credits.go 第 85–96 行:扫描结束那行日志的字段顺序是 scanned / queried / candidates / consumed / failed,报障人看到的 candidates=0 consumed=0 就是第 92 行打出来的。available_count 一道闸,applicable_available_count 降为参考值。7 两个文件 +51/−4,附一条按现场数据跑的用例(7d=100%、available=2、applicable=0,期望恰好消耗一次)。这张单北京时间 16:25 开出,还未合并。Closes: #6914。9 v8.0.41 在北京时间 10-24 02:25 发布,这段已在里面。10
internal/registry/model_registry.go 第 1798–1822 行:1806–1818 行就是「为空则回落到通用长度字段」这一段;v8.0.40 的同一位置只有原值判断,没有回落。InputTokenLimit > 0 才写,没有回落;Home 模式那段当年也没有这两个字段。13merged=false。1415GET /v1beta/models,看条目里有没有那两个字段。Concurrency limit exceeded for account。17off。18off:原样透传客户端的标识。device:只收敛 installation_id,上游看到 1 台设备、多会话。session:再收敛 session_id,上游看到 1 台设备、1 个会话、N 个线程。full:连 thread_id 一起收敛,只剩 1 台设备、1 个会话、1 个线程。codex_fingerprint_mode 与 codex_fingerprint_seed。
backend/internal/service/openai_codex_fingerprint.go 第 60–92 行:每一档让上游看到几台设备、几个会话、几个线程,逐行写在注释里,第 82–85 行是两个配置键的名字。codex_fingerprint_mode,默认是 off。tool_mode 与 use_responses_lite,报障方确认升级到 ≥v8.0.32 后再验。19github.com
github.com
github.com
github.com
github.com
github.com
github.com
codex-reset.com
opentherank.com
status.openai.com
status.claude.com
status.cloud.google.com
github.com
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.