google-gemini / google-gemini/gemini-cli

gemini stuck in thinking loop for hours

Open
#26,116 12 comments 5 reactions 0 assignees View on GitHub
area/agent kind/bug priority/p1 status/bot-triaged
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

### What happened?

its cli is thinking and thinking and loop donot breaks event it took 2 hours for completing a task which was just be done in 2 minutes in previous version, its started happening in this latest version. it also sometimes in thinking loop mode even after completing task.

### What did you expect to happen?

it should think but not struck in loop

### Client information

* **CLI Version:** 0.39.1
* **Git Commit:** 4d73f3413
* **Session ID:** 5c371107-417e-485d-8c8c-d6f0bf5c8b59
* **Operating System:** win32 v22.20.0
* **Sandbox Environment:** no sandbox
* **Model Version:** gemini-3-flash-preview
* **Auth Type:** oauth-personal
* **Memory Usage:** 292.0 MB
* **Terminal Name:** Unknown
* **Terminal Background:** Unknown
* **Kitty Keyboard Protocol:** Unsupported

### Login information

_No response_

### Anything else we need to know?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.