Skip to content
This repository was archived by the owner on May 24, 2026. It is now read-only.
This repository was archived by the owner on May 24, 2026. It is now read-only.

Add Quota usage display and rate limit warnings #691

Description

@PureWeen

Summary

The SDK provides quota information via ServerRpc.Account.GetQuotaAsync(). PolyPilot does not display quota usage or warn users about approaching limits.

SDK API

  • CopilotClient.ServerRpc.Account.GetQuotaAsync()QuotaSnapshots
  • Properties: EntitlementRequests, UsedRequests, RemainingPercentage, Overage, ResetDate

Proposed Implementation

  1. Quota widget in dashboard or settings — show remaining % with color coding (green/yellow/red)
  2. Warning banner when quota drops below threshold (e.g., 20%)
  3. Reset date display — "Resets in X days"
  4. Usage trend — track quota consumption over time
  5. Per-session cost — show how much each session has consumed

Priority: 🟢 LOW

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions