Issue: Gemini CLI Entering Endless Text Loop #16088
Unanswered
open54261
asked this question in
Community Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
When Gemini CLI starts solving a problem, it sometimes enters an endless loop where it keeps generating text without making any meaningful progress. The output becomes repetitive and nonsensical, and the loop continues nonstop.
As shown in the images I shared, the text keeps looping until the AI model eventually reaches its token limit. This behavior is problematic and leads to wasted resources and poor user experience.
Please investigate and address this issue. An AI assistant should be able to detect when it is looping and stop or recover gracefully instead of continuing indefinitely.
Thank you for your attention to this matter.
Beta Was this translation helpful? Give feedback.
All reactions