1. 02 Apr, 2026 1 commit
    • erio's avatar
      feat(redeem): support negative values for refund/deduction · 66fde7a2
      erio authored
      Allow redeem codes with negative values to enable refund scenarios:
      - Balance: negative value deducts balance (clamped to 0, never negative)
      - Concurrency: negative value reduces concurrency (clamped to 0)
      - Subscription: negative validity_days reduces remaining days; if
        remaining days <= 0, the subscription is canceled (set to expired)
      
      All deductions generate standard redeem code records for audit trail.
      66fde7a2
  2. 01 Apr, 2026 2 commits
  3. 31 Mar, 2026 12 commits
  4. 30 Mar, 2026 18 commits
  5. 29 Mar, 2026 5 commits
  6. 28 Mar, 2026 1 commit
    • wucm667's avatar
      fix(billing): 计费始终使用用户请求的原始模型,而非映射后的上游模型 · f5764d8d
      wucm667 authored
      当账号配置了模型映射(如 claude-sonnet-4-6 → glm-5.0)时,系统错误地
      使用映射后的上游模型名计算费用。由于上游模型(如 glm-5.0)在定价系统中
      没有价格配置,导致计费失败后被静默置为 0,用户不被扣费。
      
      修改 forwardResultBillingModel 优先返回请求模型名,并移除 OpenAI 路径
      中 BillingModel 字段对计费模型的覆盖逻辑。
      f5764d8d
  7. 27 Mar, 2026 1 commit