Commit Graph
12 Commits
Author SHA1 Message Date
xppandClaude Opus 5.5 aef5356c54 feat:"拆分上游首字节/空闲/总期限并在执行期间续期预留与并发租约"
- OpenAiCompatibleProvider:总期限上限 3600 秒(默认仍 90),新增首字节与空闲超时,流式有数据即重置空闲窗口
- GatewayRequestExecutionService:调用期间定时续期钱包预留与 Redis 租约,结束即停
- ChatBillingService.renew 只延长 pending 预留;GatewayGuard 只续仍持有的租约,丢失不重建
- 新增本地 Docker 启动覆盖文件(预编译产物,仅监听 127.0.0.1)
- 新增流式空闲/长流、续期、过期恢复不释放运行中调用、租约续期回归

验证:mvn -B -o clean verify 409 项通过(独立 PostgreSQL/Redis)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 15:25:28 +08:00
xppandClaude Opus 5.5 1a608f8ff8 fix:"模型准入改为公平排队并收紧渠道凭据与目录暴露"
- acquire-pair.lua 增加模型到达顺序队列:空闲槽位先给更早等待者,超时/放弃/过期即出队,仅因自身 Key 满的等待者不占模型队位
- 修改渠道 Base URL 必须重新填写凭据,阻止已存密钥被发送到新地址;审计记录新旧地址
- 普通用户模型目录只返回渠道 id/name/status,不再暴露 Base URL 和凭据掩码
- 管理端用量 CSV 导出中和公式前缀
- 新增真实 Redis 公平准入、渠道凭据重填、目录字段和 CSV 回归

验证:mvn -B -o clean verify 403 项通过(独立 PostgreSQL/Redis)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 12:06:41 +08:00
xpp ba5dbc195e fix:"隔离验证码投递并统一密码重置受理"
Repository verification / frontend (push) Canceled after 0s
Repository verification / backend (push) Canceled after 0s
2026-10-22 08:49:04 +08:00
xpp 02c21e5c19 fix:"保证验证码消费与账号变更原子提交" 2026-10-21 23:09:02 +08:00
xpp 5533a483d9 feat: modularize gateway requests and recover settlements 2026-10-21 18:24:30 +08:00
wlx af43947b5d feat: extend enterprise gateway policies billing protocols and operations 2026-10-13 19:08:50 +08:00
wlx 281849ceb8 feat: distinguish model vendors and reuse playground keys 2026-09-23 15:39:06 +08:00
wlx 0a44a0802b fix: show published models and support multi-model key selection 2026-09-22 03:09:07 +08:00
wlx 1a57de5bf9 fix: make relay catalog safe for existing routes 2026-09-21 23:19:39 +08:00
wlx b46ee72f2d feat: stream chat and settle metered CNY usage atomically 2026-09-20 01:36:22 +08:00
wlx 7360cf3ebe feat(console): add deletion lifecycle, usage history and balance adjustments 2026-09-19 21:08:45 +08:00
wlx 7a18db2123 feat: add model groups, verified registration and CNY credit grants 2026-09-18 17:27:58 +08:00