AI API Gateway Platform - 将 AI 订阅配额分发和管理
提升 Gemini、Grok 和 OpenAI 接口兼容性,修复工具调用及长对话请求中的上游参数错误。
Bug 修复
- Gemini:清理工具 Schema 中上游不支持的字段
- Grok:使用官方 CLI User-Agent 发起上游请求
- OpenAI Responses Lite:保留 additional_tools 请求所需的 parallel_tool_calls 参数
- OpenAI Responses:批量清理同类型输入项中不受支持的 status 字段,避免长对话重试失败
📥 Installation
Docker:
# Docker Hub
docker pull weishaw/sub2api:0.1.181
# GitHub Container Registry
docker pull ghcr.io/wei-shaw/sub2api:0.1.181One-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.