1. 22 Feb, 2026 3 commits
    • feat(task): add adaptor billing interface and async settlement framework · 8374a830
      Add three billing lifecycle methods to the TaskAdaptor interface:
      - EstimateBilling: compute OtherRatios from user request before pricing
      - AdjustBillingOnSubmit: adjust ratios from upstream submit response
      - AdjustBillingOnComplete: determine final quota at task terminal state
      
      Introduce BaseBilling as embeddable no-op default for adaptors without
      custom billing. Move Sora/Ali OtherRatios logic from shared validation
      into per-adaptor EstimateBilling implementations.
      
      Add TaskBillingContext to persist pricing params (model_price, group_ratio,
      other_ratios) in task private data for async polling settlement.
      
      Extract RecalculateTaskQuota as a general-purpose delta settlement
      function and unify polling billing via settleTaskBillingOnComplete
      (adaptor-first, then token-based fallback).
      CaIon committed
    • refactor(task): extract billing and polling logic from controller to service layer · ba25ba88
      Restructure the task relay system for better separation of concerns:
      - Extract task billing into service/task_billing.go with unified settlement flow
      - Move task polling loop from controller to service/task_polling.go (supports Suno + video platforms)
      - Split RelayTask into fetch/submit paths with dedicated retry logic (taskSubmitWithRetry)
      - Add TaskDto, TaskResponse generics, and FetchReq to dto/task.go
      - Add taskcommon/helpers.go for shared task adaptor utilities
      - Remove controller/task_video.go (logic consolidated into service layer)
      - Update all task adaptors (ali, doubao, gemini, hailuo, jimeng, kling, sora, suno, vertex, vidu)
      - Simplify frontend task logs to use new TaskDto response format
      CaIon committed
    • imporve oauth provider UI/UX (#2983) · 29c2c895
      * feat: imporve UI/UX
      
      * fix: stabilize provider enabled toggle and polish custom OAuth settings UX
      
      * fix: add access policy/message templates and persist advanced fields reliably
      
      * fix: move template fill actions below fields and keep advanced form flow cleaner
      Seefs committed
  2. 21 Feb, 2026 4 commits
  3. 20 Feb, 2026 3 commits
  4. 19 Feb, 2026 1 commit
  5. 12 Feb, 2026 12 commits
  6. 11 Feb, 2026 12 commits
  7. 10 Feb, 2026 2 commits
  8. 08 Feb, 2026 3 commits