AI API Gateway Platform - 将 AI 订阅配额分发和管理
-
支持 Claude custom 类型工具 (MCP) 格式,修复 input_schema 验证错误
-
重构:移除 infrastructure 目录,迁移 db/redis 初始化到 repository,迁移 errors 到 pkg
-
添加 Antigravity Token 刷新调试日志,便于问题排查
-
Turnstile 设置保存时增加参数有效性验证
-
完善边界检查:跳过空工具名称,为 nil schema 提供默认值
-
修复限额为 0 时消费记录失败的问题
-
修复无限制订阅在前端的显示问题
-
修复 Claude 模型无 signature 的 thinking block 导致的错误
-
修复 thinking block dummy signature 填充逻辑(Gemini 模型兼容)
📥 Installation
Docker:
# Docker Hub
docker pull weishaw/sub2api:0.1.34
# GitHub Container Registry
docker pull ghcr.io/wei-shaw/sub2api:0.1.34One-line install (Linux):
curl -sSL https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh | sudo bashManual download:
Download the appropriate archive for your platform from the assets below.