Skip to content

v7.2.135-personal.49

Choose a tag to compare

缓存用量修复

  • 选择性融合上游 883660f:OpenAI/Codex 转 Claude 时,普通输入同时扣除缓存读取和缓存写入,覆盖流式与非流式。
  • 补齐 OpenAI 的 cache_creation_input_tokens 输出,统一 cache_write_tokens / cache_creation_tokens 优先级及非正数回退。
  • 修复 accounting 缓存合计与分桶校验的 int64 溢出边界;无有效替代值的负数或矛盾源用量保持不计价。
  • 回归验证本地价格统计、管理端明细不会重复计算缓存;旧转换代码复现失败,修复后通过。
  • 已通过 Go 全量测试、相关 race 测试、服务构建、管理 API 冒烟检查及管理端 33 项相关测试。

本次发布不自动更新线上服务,不重算历史账单。部署包包含源码补丁、固定版本管理页面、部署说明与构建参数。

Linux release assets

  • CLIProxyAPI_<version>_linux_<arch>.tar.gz is the default Linux build. It supports dynamic library plugins and is built against a GLIBC 2.17 baseline.
  • CLIProxyAPI_<version>_linux_<arch>_no-plugin.tar.gz is the portable Linux build for musl-based or older systems such as OpenWrt. It does not support dynamic library plugins.

FreeBSD release assets

  • CLIProxyAPI_<version>_freebsd_aarch64_no-plugin.tar.gz is the FreeBSD arm64 build. It is built without CGO and does not support dynamic library plugins.

Changelog

  • 修复 Claude 转换缓存写入重复计量并校验用量溢出 (87d857d)

Full Changelog: v7.2.135-personal.48...v7.2.135-personal.49