Skip to content

Sub2API 0.1.95

Choose a tag to compare

@github-actions github-actions released this 10 Mar 04:13
· 5882 commits to main since this release

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

  • Anthropic 平台可配置 anthropic-beta 策略

  • 管理员可为持有有效订阅的用户绑定订阅类型分组

  • 支持批量重置账号状态和批量刷新令牌

  • 导入 OpenAI 账号时自动从 id_token 提取用户信息

  • 从 OpenAI JWT 提取 chatgpt_plan_type 并在前端展示订阅类型

  • 服务启动时自动清理上次进程残留的并发槽位

  • 嵌入页面支持通过 lang 参数传递用户语言偏好

  • 修复 Linux.do OAuth 注册无需邀请码的问题,支持邀请码两步流程 (Wei-Shaw#836)

  • 修复 OpenAI 临时性 400 错误在池模式下无法同账号重试的问题

  • 修复 OpenAI Responses SSE scanner 使用硬编码 1MB 限制导致大 payload 失败的问题

  • 修复前端配额徽章水平排列与其他容量徽章不一致的问题

  • 修复 HelpTooltip 组件在 dialog 内被裁切的问题

  • 修复管理员订阅绑定的回归问题


📥 Installation

Docker:

# GitHub Container Registry
docker pull ghcr.io/qyhfrank/sub2api:0.1.95

One-line install (Linux):

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

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

📚 Documentation