gemini-cli - 💡(How to fix) Fix Crazy loop [1 comments, 2 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#26082Fetched 2026-04-28 06:49:41
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
0
Timeline (top)
commented ×1labeled ×1

Code Example

> /about
# paste output here

About Gemini CLI│                                                                                                                                                │
CLI Version                                       0.39.1Git Commit                                        ...Model                                             Auto (Gemini 3)Sandbox                                           no sandbox                                                                                   │
OS                                                darwin                                                                                       │
Auth Method                                       Signed in with Google (...@gmail.com)Tier                                              Gemini Code Assist in Google One AI Pro
RAW_BUFFERClick to expand / collapse

What happened?

I told Gemini 3 Pro to do a simple bug fix and it started going crazy in a loop, responding with the following (this is in Spanish):

<img width="2952" height="1690" alt="Image" src="https://github.com/user-attachments/assets/44e8e054-9a60-4fbc-9217-112728308a97" />

What did you expect to happen?

It works and responds well, but it went crazy.

Client information

<details> <summary>Client Information</summary>

Run gemini to enter the interactive CLI, then run the /about command.

> /about
# paste output here

│ About Gemini CLI                                                                                                                               │
│                                                                                                                                                │
│ CLI Version                                       0.39.1                                                                                       │
│ Git Commit                                        ...                                                                                    │
│ Model                                             Auto (Gemini 3)                                                                              │
│ Sandbox                                           no sandbox                                                                                   │
│ OS                                                darwin                                                                                       │
│ Auth Method                                       Signed in with Google ([email protected])                                      │
│ Tier                                              Gemini Code Assist in Google One AI Pro                                                      │
</details>

Login information

No response

Anything else we need to know?

No response

extent analysis

TL;DR

The issue might be resolved by checking the input or parameters provided to Gemini 3 Pro for the bug fix task, as the loop suggests an infinite or recursive operation.

Guidance

  • Review the specific bug fix task given to Gemini 3 Pro to ensure it does not contain any recursive or looping logic that could cause the observed behavior.
  • Verify the version of Gemini 3 Pro (0.39.1) is the latest or if there are any known issues with this version that could be contributing to the problem.
  • Consider resetting or reinitializing the task or session with Gemini 3 Pro to see if the issue persists.
  • If the issue continues, attempt to replicate it with a simplified task to isolate the cause.

Notes

The provided information does not include the exact task or input given to Gemini 3 Pro, which is crucial for diagnosing the issue accurately. The Spanish response from Gemini 3 Pro is also not translated, which could contain valuable error messages or clues.

Recommendation

Apply workaround: Given the lack of specific details about the task and the response from Gemini 3 Pro, the best course of action is to try and isolate the issue by simplifying the task or checking for any known issues with the current version of Gemini 3 Pro.

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 Crazy loop [1 comments, 2 participants]