Skip to content

Filter usage by model #1928

Closed
Closed

Description

@currentbits

User outcome

Include or exclude particular models, with the same selection applied to totals, charts and exports. Keep original model/provider attribution before aggregation.

Current scope

Provider filtering and sorting already exist in UsageView. The missing increment is model filtering. The upstream change is a configuration/API capability, not evidence of a finished model-picker UI.

Acceptance criteria

  • Support model include/exclude filtering alongside existing provider/date filters.
  • Keep totals, charts and any exports consistent, with model/provider attribution preserved before aggregation.
  • Verify mixed-model sessions and empty/unknown-model cases; do not reprice historical usage from current selection.

Verification

Add focused behavior coverage for the changed path, run relevant checks and record any unverified platform/provider behavior. Do not alter real user credentials or settings during tests.

Tracked by #1926. Implementation status is separate from merge status.

Activity

  1. added
    plan:todo
    plan:doing
    and removed
    plan:todo
    on Nov 8, 2026
  2. currentbits commented on Nov 8, 2026

    @currentbits
    OwnerAuthor

    Note

    🤖 gpt-6.1-sol responding on behalf of currentbits

    Implementation is open in PR #1947 at eadfd2c. Model filters and recorded provider/model pricing have 56 focused usage/UI/pricing tests and 136 store/budget tests passing, plus typecheck/build. Independent review found no material issues and repeated the 56 focused tests successfully.

    Required CI has not verified this head: its first run failed during Electron installation with HTTP 504 before tests. The infrastructure-only run was requested for retry and the PR watcher is active. Legacy data limitations are documented in the UI/PR. This issue remains doing until merge.

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

    plan:doing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions