
Claude 今天第三条报错从北京 13:16 起还没恢复;sub2api v0.2.18 的出图账单按请求里的 n 记,张数解析不到就整笔漏掉,修单还没合并。

imageCount := parsed.N。流式路径换成解析到的张数:第 769 行 imageCount = streamCount。Responses 那条路在解析不到时回落 n。
backend/internal/service/openai_images.go 第 739–781 行:第 744 行把 imageCount 设成请求里的 n,第 769 行在流式分支里改成 streamCount,第 794 行在非流式分支里只在解析出张数时才覆盖。
backend/internal/service/image_billing_count.go 全文:注释写明官方多图响应没有 n 字段、只按响应体里实际返回的图片计,解析不到张数时兜底 1 张,避免已成功出图的请求完全漏计。image_count_billing 开关,迁移 248,默认 false。打开后即使渠道定价是 token 计费,也强制走按张。9image_count 为零、但客户端确实拿到图的那几条;dpkg --compare-versions … ge '20250419~deb12u2' 断言。17
Dockerfile 第 1–30 行:第 2 行把 builder 钉到 golang:1.26.10-bookworm,第 8–9 行与第 28–29 行分别在两个阶段安装 ca-certificates 并断言版本不低于 20250419~deb12u2。20250419~deb12u2 正是 Debian 给 bookworm 的修复版本,来自 DLA-4845-1。18docker run --rm <你的镜像> dpkg-query -W -f='${Version}' ca-certificates。重建时带上 --pull 或 --no-cache,容器不会因为一次 pull 就换掉已经建好的层。| 仓库 | 当前版本 | 发布(北京) | 本窗口动作 |
|---|---|---|---|
| sub2api | v0.2.18 21 | 10-23 15:44 | #8323 新开、#8174 补两笔,均未合并 |
| CLIProxyAPI | v8.0.41 22 | 10-24 02:25 | #6933 新开、#6932 被机器人关掉 |
| codex-proxy | v2.1.20 23 | 10-23 03:56 | 零条目 |
| codex2api | v3.1.1 24 | 10-17 05:42 | 零条目 |
status.anthropic.com
status.claude.com
github.com
github.com
github.com
github.com
patch-diff.githubusercontent.com
github.com
github.com
github.com
pkg.go.dev
github.com
hub.docker.com
hub.docker.com
github.com
github.com
github.com
security-tracker.debian.org
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
codex-reset.com
opentherank.com
status.openai.com
status.cloud.google.com
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.