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-03-30 15:36:53 +08:00
2026-03-18 15:03:24 +08:00
2026-04-04 11:12:21 +08:00
2026-03-27 14:33:05 +08:00
2026-04-04 11:11:06 +08:00
2026-04-04 11:11:06 +08:00
2026-04-04 11:09:28 +08:00
2026-04-04 11:12:21 +08:00
2026-03-17 15:38:18 +08:00
2026-03-09 19:55:18 +08:00
2026-03-18 14:13:52 +08:00