Commit Graph
38 Commits
Author SHA1 Message Date
xpp 5d6253cbf1 fix:"统一媒体结果校验并补齐交付状态" 2026-10-28 13:44:52 +08:00
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
xppandClaude Opus 5.5 2e53b1d9c8 fix:"规范音视频任务结果并按真实能力标识音频执行"
- 新增 AsyncTaskResponseNormalizer:解析 content/result/嵌套 data 回执与 {url} 对象,仅白名单媒体字段,裸字符串只接受 URL
- 视频/音频上游完成但无结果文件时标记 deliveryStatus=pending,结算一次、不重发不退款
- 目录与执行共用 AsyncMediaSupport.supportsSpeech;非 TTS 音频、专用渠道任务类型错配、非法语音参数在发送前拒绝
- 任务响应返回 taskType/completedAt,前端以持久任务类型优先,补音频 MIME、签名 URL 与未交付提示
- 新增 29 号 CPR 差距分析与优化方案文档,更新 24 号任务表 MED-01/02/03

验证:mvn -B -o clean verify 399 项通过(独立 PostgreSQL/Redis);前端构建与 27 项测试通过

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 11:48:47 +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 32f6f67b9f fix:"修复媒体下载DNS重绑定并隔离出站传输" 2026-10-21 22:49:57 +08:00
xpp 926aa64ba3 feat: bound async HTTP attempts and track remaining security work 2026-10-21 22:07:56 +08:00
xpp d994ffb9a5 fix: harden authentication and revoke stale sessions 2026-10-21 22:05:43 +08:00
xpp c716ec7478 feat: add audited async task reconciliation and frozen bindings 2026-10-21 20:08:38 +08:00
xpp 5be06a97c1 fix: retain async holds for unknown provider outcomes 2026-10-21 18:57:35 +08:00
xpp 76265845dc feat: make async task creation durably idempotent 2026-10-21 18:41:21 +08:00
xpp 5533a483d9 feat: modularize gateway requests and recover settlements 2026-10-21 18:24:30 +08:00
wlx 8a13ef9c02 Fix verified image pricing and settle async image usage 2026-10-13 20:13:21 +08:00
wlx af43947b5d feat: extend enterprise gateway policies billing protocols and operations 2026-10-13 19:08:50 +08:00
wlx 512ca52262 fix: reconcile source currencies and retail token pricing 2026-10-12 17:42:30 +08:00
wlx ea9069e332 fix: expose implemented async relay executors 2026-09-30 12:50:27 +08:00
wlx 558c0dcdd5 fix: scope provider model keys and pin async credentials 2026-09-29 17:00:55 +08:00
wlx 0876dfe08e feat: route upstream keys by model group 2026-09-29 14:46:02 +08:00
wlx ce0a718686 fix: remove artificial model group concurrency cap 2026-09-29 12:46:10 +08:00
wlx 94eaee7b95 feat: publish readable model ids and media task adapters 2026-09-29 01:29:07 +08:00
wlx 88c55cc6a9 fix: classify budget errors in error envelopes 2026-09-28 08:49:03 +08:00
wlx e0c926104e fix: keep upstream token budgets billing-safe 2026-09-28 08:39:04 +08:00
wlx 4ec47cdb23 fix: normalize relay request compatibility and classify errors 2026-09-28 08:12:07 +08:00
wlx 59907cebdf fix: quarantine unavailable upstream routes and harden upgrades 2026-09-28 06:34:15 +08:00
wlx 9acc69d4c7 fix: classify upstream failures and prevent empty billed responses 2026-09-28 04:55:00 +08:00
wlx b2266d7e9d expose route metadata and remove stale route docs 2026-09-27 21:24:12 +08:00
wlx 5652a52998 test gateway readiness and classify upstream failures 2026-09-26 02:35:30 +08:00
wlx 8a65109c80 fix session cookies and catalog pricing visibility 2026-09-25 23:09:59 +08:00
wlx f5f855c751 feat: separate api key and upstream concurrency 2026-09-23 18:09:10 +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
wlx 386d15cde2 feat: add unique super administrator and role management 2026-09-17 19:03:51 +08:00
wlx c7278c00a6 feat: package Beijing test deployment with HTTPS and preflight checks 2026-09-10 18:10:31 +08:00