gemini-cli - 💡(How to fix) Fix Stuck on thinking inifinitely [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#24922Fetched 2026-04-09 08:17:25
View on GitHub
Comments
2
Participants
3
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×2
RAW_BUFFERClick to expand / collapse

What happened?

Stuck on thinking inifinitely

What did you expect to happen?

It's stuck on thinking infinitely.

Client information

  • CLI Version: 0.36.0
  • Git Commit: 8b1e649c2
  • Session ID: 532b7ed8-f0df-40b5-8eaf-ab121eca8d95
  • Operating System: darwin v24.14.1
  • Sandbox Environment: no sandbox
  • Model Version: gemini-3-flash-preview
  • Auth Type: oauth-personal
  • Memory Usage: 166.2 MB
  • Terminal Name: Unknown
  • Terminal Background: #141414
  • Kitty Keyboard Protocol: Unsupported

Login information

No response

Anything else we need to know?

No response

extent analysis

TL;DR

The issue may be related to the specific model version or CLI version being used, and trying a different version or configuration might help resolve the infinite thinking loop.

Guidance

  • Check if there are any known issues with the gemini-3-flash-preview model version that could be causing the infinite thinking loop.
  • Verify if the issue persists when using a different CLI version, such as a previous or newer version.
  • Review the system resources (e.g., memory usage) to ensure they are not contributing to the issue.
  • Consider providing more information about the specific task or input that is causing the infinite thinking loop, as this might help identify a more specific cause.

Notes

The issue lacks specific details about the task or input that is causing the infinite thinking loop, making it difficult to provide a more targeted solution.

Recommendation

Apply workaround: Try using a different model version or CLI version to see if the issue persists, as this may help identify or resolve the problem.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

gemini-cli - 💡(How to fix) Fix Stuck on thinking inifinitely [2 comments, 3 participants]