google-gemini / google-gemini/gemini-cli

token drain loop

未關閉
#28,362 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area/agent kind/bug priority/p1 status/manual-triage
主要語言
TypeScript
星號
107k
分支
14.6k
平均合併
2 天 3 小時
30 天內合併 PR
45

描述

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

貢獻指南

開啟貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python, typescript
領域
ai, cli
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
需要釐清
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。