Skip to content

Sub2API 0.2.13-custom1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Oct 06:49
· 608 commits to main since this release

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

基于上游 v0.2.13 同步,包含以下自定义功能。

自定义功能

OpenAI 403 处理策略

  • rate_limit.openai_403_ignore:设为 true 时跳过 OpenAI 403 的全部账号副作用,不计数、不临时下线、不永久禁用,账号保持可用,并将原始 403 响应直接透传给客户端。
  • rate_limit.openai_403_disable_threshold:连续 403 次数达到该阈值时才永久禁用账号;未达到阈值时仅临时下线。设为小于或等于 0 时使用内置默认值 3。

上游更新

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

  • 修复创建 TypeSafe API Key 账号时,因默认开启上游计费自动探测而返回 400 无法创建的问题
  • 修复特定情况下请求用量未能正常结算的问题

📥 Installation

Docker:

# Docker Hub
docker pull weishaw/sub2api:0.2.13

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

One-line install (Linux):

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

Image

ghcr.io/an-epiphany/sub2api:0.2.13-custom1


📥 Installation

Docker:

# GitHub Container Registry
docker pull ghcr.io/an-epiphany/sub2api:0.2.13-custom1

One-line install (Linux):

curl -sSL https://raw.githubusercontent.com/an-epiphany/sub2api/main/deploy/install.sh | sudo bash

Manual download:
Download the appropriate archive for your platform from the assets below.

📚 Documentation