Skip to content

Overview all-provider model table is capped at 20 rows since it reads topModels #1318

Closed

Description

@iamtoruk

Since #1315 the all-provider Overview table reads current.topModels instead of the per-day history union, which applies TOP_MODELS_LIMIT (20) to that view for the first time. On a machine with 47 models the table drops to 20 and every local or free model (qwen, llama, deepseek, gemini, grok) disappears from it, while the same PR fixed their visibility in the Models tables. The old rows were wrong in both directions, so the trade is defensible, but the cap is a product choice. Knob: raise TOP_MODELS_LIMIT, or give the Overview table its own uncapped list. Also from the same review: compactTokenCount has no billions rung (12.3B renders as 12345.7M), and Models.tsx still dims calls for unpriced rows while the token cells do not.

Activity

  1. ozymandiashh commented on Sep 12, 2026

    @ozymandiashh
    Collaborator

    @iamtoruk #1315 shows as merged, but its base was fix/dock-pace-followups, not main. It landed on that branch five seconds after #1316 went into main, and #1314 had already merged the branch into main fifteen minutes earlier, so the three commits (455130f, 3d3088f, e6cce14) never reached main: git merge-base --is-ancestor ef97600d main fails, tests/menubar-model-tokens.test.ts is not on main, and the changelog entry is missing too.

    This issue is written against that code — on main the all-provider Overview table still reads the per-day union and compactTokenCount only exists on the branch — so I am holding my fix for it until the token work is actually on main. A fresh PR from fix/dock-pace-followups to main conflicts in CHANGELOG.md and src/menubar-json.ts, both small. Do you want to re-land it, or should I?

  2. added
    bug
    area: desktop
    status: confirmed
    on Sep 14, 2026
  3. ozymandiashh commented on Sep 15, 2026

    @ozymandiashh
    Collaborator

    Answering my own question after three days: #1443 re-lands the three commits (authorship preserved, both conflicts resolved) and fixes the cap, the billions rung and the calls dimming on top. If you'd rather re-land #1315 separately, dropping the last commit leaves you exactly with the re-land.

  4. iamtoruk commented on Sep 15, 2026

    @iamtoruk
    MemberAuthor

    One PR is right, the re-landed commits keep their authors and the fix belongs on top of them. Sorry for the three days of silence on this.

    Screenshots on #1443 as asked there, then I verify it against my own data and it goes in.

  5. added a commit that references this issue on Sep 17, 2026
    dd1f11f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: desktopbugstatus: confirmed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions