github Wei-Shaw/sub2api v0.1.75
Sub2API 0.1.75

latest releases: v0.1.129, v0.1.128, v0.1.127...
3 months ago

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

  • 用户列表页显示当前并发数:展示「当前/最大」格式,支持颜色状态指示

  • OpenAI OAuth 账号支持批量 Refresh Token 输入创建

  • Anthropic sticky session 支持 Trie 结构的 digest chain 匹配,提升多轮对话会话亲和性

  • 上游账号透传所有客户端请求头(仅覆盖认证头)

  • 上游账号类型重构:从独立的 upstream 类型迁移为标准 APIKey 类型,GetBaseURL 自动追加 /antigravity

  • 简化粘性会话限流处理:遇到限流立即切换账号,不再等待

  • Smart retry 最大重试次数调整为 1 次,失败后清除粘性会话绑定

  • 统一管理后台表格工具栏布局,搜索框和按钮同行显示

  • 修复上游账号响应体直接透传而非解析 SSE 的问题

  • 修复前端上游账号编辑时 BaseURL/APIKey 字段缺失

  • 修复创建上游账号时 mixed_scheduling 参数未传递

  • 修复 APIKey 类型账号测试连接时错误携带 OAuth header


📥 Installation

Docker:

# Docker Hub
docker pull weishaw/sub2api:0.1.75

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

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

Don't miss a new sub2api release

NewReleases is sending notifications on new releases.