Skip to content

Sub2API 0.1.114

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Apr 02:51
· 21 commits to main since this release
358ff6a

AI API Gateway Platform - 将 AI 订阅配额分发和管理

  • 支持 opus-4.7 模型

  • OpenAI API Key 账号调用 Claude Code 时注入 prompt_cache_key,提升缓存命中率

  • 重构上游响应体读取逻辑,合并 9 处重复代码为统一的 ReadUpstreamResponseBody 函数

  • 修复 outbox watermark 上下文过期导致水位线无法推进、相同事件反复处理引发 CPU 飙升的问题

  • 修复 watermark 写入重试时复用已过期上下文的问题

  • 新增同批次内 group rebuild 去重,减少约 80% 的冗余 rebuild 调用

  • 上游返回 KYC 身份验证要求时停止账号调度

  • 修复 OpenAI WS 标志在调度器缓存中丢失的问题

  • 修复账号 UI 中连接池 WS 模式选项未显示的问题


📥 Installation

Docker:

# Docker Hub
docker pull weishaw/sub2api:0.1.114

# GitHub Container Registry
docker pull ghcr.io/wei-shaw/sub2api:0.1.114

One-line install (Linux):

curl -sSL https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh | sudo bash

Manual download:
Download the appropriate archive for your platform from the assets below.

📚 Documentation