Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

CLI session preemptively locks tool execution before credit exhaustion

Aberta
#4,897 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
shell
Domínio
cli

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

triage
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
Image

Expected behavior

Tools should be executed until 999 ai credits reached

Additional context

model Gemini 3.8 Flash

Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de github/copilot-cli

Todas as issues de github/copilot-cli

Issues semelhantes

Mais issues de Shell/Bash

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.