gproxy v2.9.1
v2.9.1
Recommended upgrade for every instance serving Codex CLI traffic. Codex
model-API calls were forwarded upstream without billing — upgrade to start
metering them again. This release closes out the v2.9 fix line; releases
after v2.9.1 shift to feature work.建议所有承接 Codex CLI 流量的实例升级。 Codex 模型 API 调用此前被直接转发上游、
完全未计费 —— 升级后恢复计量。本版本收尾 v2.9 修复线;v2.9.1 之后的版本将转入
功能更新。
Routes Codex model-API calls through the full pipeline so they are admitted, billed, and logged again, and clears the outstanding clippy warnings.
English
Fixed
- Codex model-API calls are billed again.
/api/codex/responses(andresponses/compact,images/generations,images/edits,alpha/search,realtime/calls) were raw-forwarded straight upstream: no quota admission, no settlement, no usage rows, no capture, and norequest.completedtelemetry — the tokens they consumed were never accounted anywhere. These paths now rewrite to their canonical/v1ingress and run the full pipeline, so admission, failover, settlement, usage records, capture, and telemetry all apply. As a consequence they also respect model permissions, rate limits, and quotas like every other generation request. Onlymemories/trace_summarizestays on the raw forward — it has no classified operation yet.
Changed
- Claude service raw forwarders take a control operation. Internal cleanup of the scoped Claude Code service: the eight-argument forwarding helpers now take the
CredentialControlOperationdirectly, clearing the outstanding clippy warnings.
简体中文
修复
- Codex 模型 API 调用恢复计费。
/api/codex/responses(以及responses/compact、images/generations、images/edits、alpha/search、realtime/calls)此前被原样转发上游:没有配额准入、没有结算、不写用量行、不进请求捕获,也没有request.completed遥测 —— 这些调用消耗的 token 从未被记账。现在这些路径会改写为标准/v1入口并走完整 pipeline,准入、故障转移、结算、用量记录、捕获与遥测全部生效。相应地,它们也和其他生成请求一样受模型权限、限流与配额约束。仅memories/trace_summarize仍走原始转发 —— 它尚无对应的操作分类。
变更
- Claude 服务的原始转发函数改收控制操作。 scoped Claude Code 服务的内部清理:八参数的转发辅助函数改为直接接收
CredentialControlOperation,消除存量 clippy 告警。