1. 21 Jun, 2025 2 commits
    • feat(ratio-sync): support /api/pricing parsing, confidence verification & UI enhancements · 8248185e
      Backend
      - controller/ratio_sync.go
        • Parse /api/pricing response and convert to ratio / price maps.
        • Introduce confidence heuristic (model_ratio = 37.5 && completion_ratio = 1) to flag unreliable data.
        • Include confidence map when building differences and filter “same”/empty entries.
      - dto/ratio_sync.go
        • Add `ID` to UpstreamDTO, `upstreams` to UpstreamRequest, and `Confidence` to DifferenceItem.
      
      Frontend
      - ChannelSelectorModal.js
        • Re-implement with table layout, pagination, search, endpoint-type selector and mobile support.
      - UpstreamRatioSync.js
        • Send full upstream objects, add ratio-type filter, confidence badges/tooltips, retain endpoints.
        • Leverage ChannelSelectorModal’s pagination reset.
      - ChannelsTable.js – fix tag color for disabled status.
      - en.json – add translations for new UI labels.
      
      Motivation
      These changes let users sync model ratios / prices from different upstream endpoints and visually identify potentially unreliable data, improving operational safety and flexibility.
      t0ng7u committed
    • 🎨 refactor: Refactor RatioSetting: integrate Group Ratio Settings into tabs · 277ffdcb
      * Moved `GroupRatioSettings` component inside the existing Tabs as a new **Group Ratios** tab.
      * Removed the standalone `Card` that previously wrapped `GroupRatioSettings`.
      * Re-formatted JSX props for `ModelRatioSettings` and `GroupRatioSettings` to improve readability.
      * Consolidates all ratio-related settings into a single tabbed view for a cleaner and more consistent UI.
      t0ng7u committed
  2. 20 Jun, 2025 30 commits
  3. 19 Jun, 2025 8 commits