github / github/app

Limit command

オープン
#2,673 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
triage
主要言語
言語のデータがありません
スター
2.1k
フォーク
153
PR マージ指標
30日以内にマージされた PR はありません

説明

### Feature summary

Add /limit command on Github copilot App

### What problem are you trying to solve?

In the Copilot App the command /limit is missing.
I want to set a maximum AI credits for a session.

### Proposed solution

When I set a limit of credits consumption, knowing that the usage is checked after model calls return, so one call can exceed the limit, I want to see the agent stop a task when the limit is reached, so I can put a safe stop on a long session.

### Workflow impact

_No response_

### Installation context

_No response_

### Additional context

The /limit command already exists on copilot CLI

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

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

調査の方向性

まず、Copilot CLI に既存の /limit コマンドを見つけ、その動作を Copilot App のコマンド処理と比較します。モデル呼び出しの戻り後に使用量がチェックされることを考慮して、同等のセッションクレジット上限を実装し、設定された上限に達するとタスクが停止することを確認します。

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

評価

領域
desktop
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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