google-gemini / google-gemini/gemini-cli

token drain loop

Aberta
#28,362 4 comentários 0 reações 0 responsáveis Ver no GitHub
area/agent kind/bug priority/p1 status/manual-triage
Linguagem predominante
TypeScript
Estrelas
107k
Forks
14.6k
Merge médio
2d 3h
PRs com merge (30d)
45

Descrição

### What happened?

[ACTION REQUIRED] 📎 PLEASE ATTACH THE EXPORTED CHAT HISTORY JSON FILE TO THIS ISSUE IF YOU FEEL COMFORTABLE SHARING IT.

### What did you expect to happen?

loop detection to stop problem and this shipped missing template.py causing errors repeatedly.

### Client information

* **CLI Version:** 0.50.0
* **Git Commit:** 8d9733d53
* **Session ID:** f17d5d2e-1e07-4f3d-a19d-a87f1adffe32
* **Operating System:** win32 v25.9.0
* **Sandbox Environment:** no sandbox
* **Model Version:** auto
* **Auth Type:** gemini-api-key
* **Memory Usage:** 376.0 MB
* **Terminal Name:** Unknown
* **Terminal Background:** #0c0c0c
* **Kitty Keyboard Protocol:** Unsupported

### Login information

_No response_

### Anything else we need to know?

_No response_

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by reproducing the token-drain loop in the CLI using the reported v0.50.0 environment and, if available, the exported chat history JSON. Inspect the loop-detection path and the missing template.py failure; done means repeated errors stop instead of draining tokens.

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

Avaliação

Stack de tecnologia
python, typescript
Domínio
ai, cli
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Pouca atividade
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

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