github / github/app

Put token limits on sessions

Offen
#2,591 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
triage
Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.1k
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Feature summary

Allow users to place token limits on their sessions to prevent overspending

### What problem are you trying to solve?

Long-running agent sessions can easily use up an entire month of AI credits when unsupervised. This would be solved by placing token limits on sessions allowing users to put a cap on the maximum amount of _non-cached_ tokens used.

### Proposed solution

_No response_

### Workflow impact

_No response_

### Installation context

_No response_

### Additional context

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The issue names no files, tests, or entry points; first locate the session and non-cached token-usage paths. Define how users configure a session cap, when usage is measured, and what happens at the limit. Done means the scope and enforcement behavior are specified and covered by appropriate tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
ai
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.