github / github/copilot-cli

Improve rate limit UI for all types of rate limit

オープン
#2,827 コメント 2 件 リアクション 9 件 担当者 0 名 GitHub で見る
area:models
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the feature or problem you'd like to solve

The only indicators for rate limits are either when they trigger and block access, or the one-off warnings for the weekly limit at 75% or 90%.

### Proposed solution

Provide a method or UI element that describes current rate limit usage for all rate limits. Other agentic AI services that rely on rate limiting for access already do this (e.g., Codex, Claude Code have a series of progress bars describing 5-hour, daily, weekly limits, etc.). This could either be part of the GitHub web UI, where you already have a progress bar tracking remaining requests, part of the existing status-bar UI in CLI, and/or part of a command like /usage (e.g., a line like `5-hour limit: 40% left | Daily limit: 80% left | Weekly limit: 33% left`). If there needs to be a differentiation between global Copilot limits and service-specific ones, then you could also add that as a separate line or as a note with model info.

Surprising users with messages that they have to stop for an hour is annoying and intrusive, especially if it hits while the agent is working mid-turn. Having a lead-up for *every* limit, not just the weekly, helps users expect and anticipate it when they will hit, which allows them to pivot to another service to work, or pivot in a break organically.

I'm not asking for rate limits to go away -- I understand why that would be an unreasonable request -- but users should have enough information to be able to work around them without just hitting a sudden wall in a way that, from their perspective, is functionally random.

### Example prompts or workflows

```
/usage
* Changes +12345 -12345
Requests 25 Premium (12h 34m 56s)
Tokens ^ 60.0m * v 400.0k * 59.0m (cached) * 250.0k (reasoning)
- Daily limit: 40% remaining (resets in 12h 34m 56s)
- Weekly limit: 80% remaining (resets in 5d 12h 34m 56s)
- All models currently available
```

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reviewing the existing status-bar UI, weekly-limit warnings, and any /usage command mentioned in the issue. Determine how current usage and reset times are obtained for each rate limit, then define completion as displaying remaining usage and reset information for all applicable limits without surprising users at the limit.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。