v0.1.183

dmtrKovalenko/odiffv0.1.183Aug 25, 2026by github-actions[bot]

AI Summary

Fixes scheduling and session issues for OpenAI, Kimi, and other platforms, including quota parsing, concurrency limits, and email binding protection.

Key Highlights

  • OpenAI OAuth identifies 5-hour/7-day quota exhaustion and pauses accounts
  • Kimi concurrency 403 changed to temporary cooling instead of permanent disable
  • OpenAI Responses project ID prefix fix for tool search
  • Email binding protection with alias detection and transaction-level concurrency control

New Features

  • OpenAI OAuth quota parsing
  • Kimi concurrency limit handling
  • Email binding protection
  • Antigravity token limit adjustment
  • Channel monitoring V2 fixes

Full Release Notes

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

本版本集中修复 OpenAI、Kimi、Antigravity、邮箱绑定及频道监控等场景的调度、会话与兼容性问题,提升请求成功率和账号状态判断准确性。

## Bug 修复

- OpenAI OAuth:识别 5 小时/7 天配额耗尽的 429,并按重置时间暂停账号;普通瞬时 429 继续重试。
- Kimi:并发限制 403 改为临时冷却并保留故障转移,避免误将账号永久禁用。
- OpenAI:支持 Codex `session-id` 请求头,保持重连请求的粘性会话;容量溢出时不迁移持久绑定。
- OpenAI Responses:修正 custom tool/tool search 调用恢复后的项目 ID 前缀,避免后续请求因 ID 校验失败。
- 邮箱换绑:支持别名占用检测并增加事务级并发保护,避免并发换绑导致重复绑定。
- Antigravity:将兼容模式最大 token 限制为 64000,避免超出上游限制。
- 频道监控 v2:修复 composite 平台错误聚合的 SQL 条件,确保监控统计归属正确。



---

## 📥 Installation

**Docker:**
```bash
# Docker Hub
docker pull weishaw/sub2api:0.1.183

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

**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)