erio
632035aabd
feat(billing): 网关计费迁移到 CalculateCostUnified + 模型限制错误统一
- GatewayService/OpenAIGatewayService 注入 ModelPricingResolver
- RecordUsage 从旧路径迁移到 CalculateCostUnified(支持 per_request/image 模式)
- 无渠道时自动回退旧路径,保持原有行为
- 长上下文双倍计费仅在无渠道定价时生效
- CostBreakdown 新增 BillingMode 字段,使用日志记录实际计费模式
- 模型限制错误改为与"无可用账号"相同的 503 响应
2026-04-04 11:12:21 +08:00
..
2026-04-04 11:11:06 +08:00
2026-04-04 11:11:06 +08:00
2026-02-02 22:13:50 +08:00
2026-03-04 11:29:31 +08:00
2026-03-15 17:52:29 +08:00
2026-03-09 01:18:49 +08:00
2026-03-15 22:13:31 +08:00
2026-03-15 22:13:31 +08:00
2026-03-08 14:12:17 +08:00
2026-03-08 14:12:17 +08:00
2026-03-23 16:24:35 +08:00
2026-02-14 11:23:10 +08:00
2026-02-07 19:04:08 +08:00
2026-03-23 16:24:35 +08:00
2026-03-15 16:21:49 +08:00
2026-04-04 11:12:21 +08:00
2026-04-04 11:12:21 +08:00
2026-02-07 22:14:07 +08:00
2026-03-09 19:55:18 +08:00
2026-03-18 11:31:32 +08:00
2026-03-01 15:45:44 +08:00
2026-02-07 17:12:15 +08:00
2026-04-01 02:20:13 +08:00
2026-04-01 02:20:13 +08:00
2026-04-04 11:00:55 +08:00
2026-02-23 12:45:37 +08:00
2026-02-23 12:45:37 +08:00
2026-02-12 19:01:09 +08:00
2026-03-21 23:47:39 +08:00
2026-03-05 16:46:14 +08:00
2026-03-15 22:13:42 +08:00
2026-03-20 13:36:54 +08:00
2026-03-29 20:53:14 +08:00
2026-03-24 09:52:56 +08:00
2026-03-21 23:38:00 +08:00
2026-03-24 10:22:08 +08:00
2026-04-04 11:12:21 +08:00
2026-02-28 15:01:20 +08:00
2026-04-04 11:12:21 +08:00
2026-03-21 23:47:39 +08:00
2026-02-02 22:13:50 +08:00
2026-02-28 15:01:20 +08:00
2026-03-15 22:13:12 +08:00
2026-02-28 15:01:20 +08:00
2026-02-02 22:13:50 +08:00
2026-03-03 01:05:11 +08:00
2026-04-04 11:00:55 +08:00