CLI session preemptively locks tool execution before credit exhaustion
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 55/100
Rechercherichtung
Start by reproducing the behavior in Copilot CLI 1.0.85 with a 1000-credit limit, using Gemini 3.8 Flash and attempting a tool call after about 940 credits are used. Trace the session credit handling and tool-execution decision; done means non-destructive tool calls remain available until the 999-credit boundary instead of forcing a summary early.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the bug
The Copilot CLI runtime forcefully revokes tool execution capability when remaining session credits drop below a conservative threshold (~100-150 credits), even though the session still has sufficient credit capacity (e.g., 57.1 AI credits remaining) to perform individual tool calls. The runtime injects Final model call for this session: do not call tools; summarize progress, state what remains, and stop, completely preventing final non-destructive operations (such as copying a file).
Affected version
Current Version: GitHub Copilot CLI 1.0.85
Steps to reproduce the behavior
Configure 1000 AI credits limit
Create session and reach 940 credits used
Try to do one tool call
Copilot keeping return summary session and prevent tool calling
Expected behavior
Tools should be executed until 999 ai credits reached
Additional context
model Gemini 3.8 Flash
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/copilot-cli
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
github/copilot-cli#4909 ·
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
github/copilot-cli#4906 ·
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
github/copilot-cli#4729 ·
-
area:sessions
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
github/copilot-cli#4712 ·
Alle Issues in github/copilot-cli
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
community-scripts/ProxmoxVE#17425 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
danielmiessler/LifeOS#2218 ·