github / github/copilot-cli

Allow to set a token limit for a task

Offen
#3,012 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:configuration area:sessions
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Es werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, die Verarbeitung von Aufgaben- und Sitzungsanfragen in der CLI zu lokalisieren, und kläre anschließend, wie ein Token-Limit und Bestätigungsoptionen funktionieren sollen. Erledigt ist die Aufgabe, wenn das Limit für eine Anfrage oder Sitzung durchgesetzt wird und die vorgeschlagenen Budgetantworten durch Tests abgedeckt sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.