Skip to content

gproxy v2.4.2

Choose a tag to compare

@LeenHawk LeenHawk released this 10 Aug 08:28

v2.4.2

Adds persistent credential usage and quota-cycle history, and makes application compatibility rewrites safe for structured multimodal requests.

English

Added

  • Credential usage history. GPROXY now maintains provider-independent daily and lifetime usage totals for every credential, including request, token, cache, image-output, and settled-cost breakdowns. The Console can compare credentials and inspect recent trends without polling upstream accounts.
  • Quota-cycle history. Live upstream quota snapshots can now be correlated with locally recorded usage and retained as open or finalized quota cycles, including model breakdowns, coverage metadata, reset boundaries, and equivalent-capacity estimates where the upstream scope is locally accountable.

Fixed

  • Safe application compatibility rewrites. Pi, Aider, Cline, Continue, and Cursor compatibility substitutions now target known system and message text fields instead of regex-rewriting the serialized request body. Images, documents, and other opaque Base64 payloads remain untouched. The Pi preset no longer depends on a Pi user-agent header, which is unavailable when Pi uses its Claude Code-compatible Anthropic transport.

简体中文

新增

  • 凭证用量历史。 GPROXY 现在会为每项凭证维护与上游渠道无关的每日及累计用量,涵盖请求数、token、缓存、图片输出及已结算费用。Console 可直接比较各凭证并查看近期趋势,无需轮询上游账户。
  • 额度周期历史。 上游实时额度快照现在可与本地请求用量关联,并持久化为进行中或已结束的额度周期;记录包含模型明细、覆盖范围、重置边界,以及在额度范围可由本地用量核算时估算的等效容量。

修复

  • 安全的应用兼容改写。 Pi、Aider、Cline、Continue 和 Cursor 的兼容替换现在只处理已知的 system 与 message 文本字段,不再对序列化后的整份请求做正则替换;图片、文档及其他不透明 Base64 内容不会被修改。Pi 预设也不再依赖 Pi User-Agent,因为 Pi 使用 Claude Code 兼容的 Anthropic 传输时不会携带该标识。