v0.1.159

Wei-Shaw/sub2apiv0.1.159Jul 17, 2026by github-actions[bot]

AI Summary

Fixes a regression where pure APIKey groups could not use OpenAI search and resolves IP logging issues in reverse proxy deployments.

Key Highlights

  • Admin account list with direct jump links to upstream sites
  • Grok Free account prompt caching for function tools
  • Reverse proxy IP logging fix for audit logs
  • OpenAI independent search fix for pure APIKey groups

New Features

  • Admin account list jump links
  • Grok Free account caching
  • Reverse proxy IP logging fix
  • OpenAI search fix
  • Custom currency symbol display fix

Full Release Notes

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

修复 v0.1.157 起纯 APIKey 分组无法使用 OpenAI 独立搜索的回归;反向代理部署下审计日志与会话 IP 绑定现在能正确记录真实客户端 IP。

## 新增功能

- 管理端账号列表:支持从 API Key 账号名称直接跳转到上游站点

## 优化改进

- Grok Free 账号:/v1/responses 及 WS 桥接携带函数工具时同样启用免费提示词缓存路由,并处理与内置 web_search 工具重名的冲突
- 前端 Stripe 支付依赖改为按需加载,未使用支付功能时不再加载相关脚本

## Bug 修复

- 修复 v0.1.157 起纯 APIKey 分组调用 OpenAI 独立搜索时无可用账号的问题;混合分组中不支持该端点的 APIKey 账号遇 404/405 自动切换账号,不再误写账号错误状态
- 修复反向代理部署下管理端审计日志与会话 IP 绑定记录 127.0.0.1 的问题:现与 API Key IP 限制共用「信任转发客户端 IP」开关统一识别真实客户端 IP(开关默认关闭时行为不变;已开启且启用会话绑定的部署,切换后需重新登录一次)
- 补充 OpenAI 账号创建入口缺失的界面文案



---

## 📥 Installation

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

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

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