github / github/copilot-cli

Allow to set a token limit for a task

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

説明

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

Currently each request consumes a certain predicable amount of premium requests - this will change soon and make it completely unpredictable, a task might accidently eat up thwo whole budget for a month.

### Proposed solution

With the upcoming https://github.blog/news-insights/company-news/github-copilot-is-moving-to-usage-based-billing/ it becomes completely unpredictable how much costs a request possibly consumes.

It would therefore be good to set a limit per session / request. If the limit is approached, copilot should ask for confirmation what to do that could be:

1. Complete as soon as possible with what was already accomplished
2. Continue with an increased budget
3. ....

### Example prompts or workflows

_No response_

### Additional context

_No response_

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

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

調査の方向性

ファイル、テスト、エントリーポイントは指定されていません。まず CLI でのタスクおよびセッションのリクエスト処理を見つけ、次にトークン制限と確認の選択肢がどのように機能すべきかを明確にします。リクエストまたはセッションに対して制限が適用され、提案された予算レスポンスがテストでカバーされていれば完了です。

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

評価

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

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

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