v0.1.181

Wei-Shaw/sub2apiv0.1.181Aug 24, 2026by github-actions[bot]

AI Summary

This release enhances compatibility for Gemini, Grok, and OpenAI interfaces, specifically addressing issues with tool calls and long conversation requests. It ensures upstream parameters are correctly passed and parsed.

Key Highlights

  • Gemini tool schema cleaned up to remove unsupported upstream fields.
  • Grok now uses the official CLI User-Agent for upstream requests.
  • OpenAI Responses Lite now preserves the required parallel_tool_calls parameter.
  • OpenAI Responses batch cleanup removes unsupported status fields in long conversations.

New Features

  • Gemini tool schema cleanup.
  • Grok official User-Agent usage.
  • OpenAI parallel_tool_calls parameter retention.
  • OpenAI Responses status field cleanup.

Full Release Notes

> 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:**
```bash
# Docker Hub
docker pull weishaw/sub2api:0.1.181

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

**One-line install (Linux):**
```bash
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

- [GitHub Repository](https://github.com/Wei-Shaw/sub2api)
- [Installation Guide](https://github.com/Wei-Shaw/sub2api/blob/main/deploy/README.md)