Skip to content

Sub2API 0.1.105.2 (Simple)

Choose a tag to compare

@github-actions github-actions released this 29 Mar 23:06
· 7038 commits to main since this release

AI API Gateway Platform - 将 AI 订阅配额分发和管理
⚡ Simple Release: 仅包含 x86_64 GHCR 镜像

Remove AccountTypeAPIKey restrictions from passthrough field rules,
allowing OAuth, setup-token, upstream, and bedrock accounts to
configure and use passthrough fields (inject/map/forward).

Backend:

  • Remove type guards in NormalizeAccountPassthroughFields,
    AccountPassthroughFieldRules, and applyAccountPassthroughFieldsWithContext
  • Remove APIKey-only guards in gateway paths (Anthropic, OpenAI,
    Antigravity, Gemini)
  • Add passthrough support to Gemini OAuth generateContent and
    listModels paths with correct header ordering

Frontend:

  • Update supportsPassthroughFields() to return true for all types
  • Move PassthroughFieldRulesEditor to common section in both
    CreateAccountModal and EditAccountModal
  • Remove type restriction in applyPassthroughFieldExtra save logic

Tests updated to verify new behavior (allow non-APIKey accounts).


📥 Installation

Docker (x86_64 only):

docker pull ghcr.io/caiqy/sub2api:0.1.105.2

📚 Documentation