mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 01:10:23 +08:00
在 usage reporting 的 sync/stream 终态处理链中补充 Codex 配额回写, 将普通请求响应头中的 x-codex-* 实时同步到 key.upstream_metadata.codex。 - 复用 parse_codex_usage_headers 解析配额头 - 仅对 codex provider 执行 best-effort 回写 - 增加 30s TTL 指纹去重,忽略 reset 倒计时等波动字段 - 补充 realtime helper 单测与 sync/stream 集成测试