Skip to content

v2.1.15

Choose a tag to compare

@github-actions github-actions released this 09 Oct 20:44
· 52 commits to dev since this release
4ab7497

✨ 本次更新

  • 优化了弱网环境下的连接稳定性,支持自动恢复中断的流式响应,并能更准确地处理用户的主动取消操作。
  • 修复了流式请求出错(如触发限流或 Key 过期)时被错误标记为“成功”的问题,确保 Claude Code 等客户端能正确触发重试或显示错误原因。
  • 改进了 Gemini/Antigravity 账号的路由逻辑,会根据账号套餐自动选择最优接口,并在主接口连接失败或超时时自动切换到备用端点。
  • 针对 Docker 用户:修复了镜像升级后无法自动补齐新增配置文件(如价格表)的问题,现在缺失的默认配置会在启动时自动补全。
  • 修复了计费价格表加载失败时静默报错的问题,现在会明确提示加载异常,避免用户误以为计费成本恒为零。

What's New

  • Improved connection stability on weak networks with the ability to recover interrupted streams and better handle user-initiated request cancellations.
  • Fixed an issue where streaming errors (such as rate limits or expired keys) were incorrectly reported as successful (HTTP 200), allowing clients like Claude Code to correctly trigger retries.
  • Enhanced routing for Gemini/Antigravity accounts by automatically selecting the optimal service endpoint based on account tier and providing automatic fallback if the primary connection fails.
  • For Docker users: Fixed a bug where new default configuration files (like pricing tables) were not automatically added during image updates.
  • Pricing load failures are now clearly reported instead of failing silently, preventing the system from incorrectly displaying zero costs when the pricing table is missing.
完整提交记录 / Full commit list
  • feat: route accounts by service tier safely through fallback (#847)
  • feat(proxy): recover weak-network streams and honor pre-header aborts (#846)
  • fix(docker): seed missing config defaults and surface pricing load failures (#845)
  • fix(proxy): preserve streaming 429 status and retry delay (#836)
  • fix(proxy): preserve HTTP statuses for streaming errors (#841)