Repository navigation
TokenRouter 0.1.286
AI API Gateway Platform - 将 AI 订阅配额分发和管理
- 新增 POST /api/v1/keys/:id/rotate:保留 Key ID、名称、分组、有效期、限额、IP 规则、模型映射、结算方式与全部用量/计费历史,仅替换鉴权凭据值
- 仓储 CAS 更新,并发轮换返回冲突;成功后失效旧、新凭据的鉴权缓存,数据库触发器经 outbox 跨实例广播
- 前端「更多」菜单新增「轮换密钥」并二次确认;审计动作 user.api_key.rotate
- 同步 http_api 与 routing_and_billing 工程文档
📥 Installation
Docker:
# GitHub Container Registry
docker pull ghcr.io/yegetables/tokenrouter:0.1.286One-line install (Linux):
curl -sSL https://raw.githubusercontent.com/yegetables/TokenRouter/main/deploy/install.sh | sudo bashManual download:
Download the appropriate archive for your platform from the assets below.