News for hackers. Stuff that matters.

Gemini models increasingly stucking in thinking loop

Using Google Antigravity and Google AI Studio, I have noticed that Gemini models, which includes 3.1 Pro and 3.5 Flash, are increasingly stucking in thinking loops. It has become much more common. So I did a 100 tasks test and out of them, 3.5 Flash got stuck in a loop 23 times, while 3.1 Pro was a lower 16 times.
( 11 comments | 9 points | on HN )
Re:Gemini models increasingly stucking in thinking loop by skerit on Tuesday June 23, 2026 @05:19AM (#48642355)
Was this not the case earlier? I've had it stuck in loops from day 1, even when Gemini 3 came out. I've never been able to actually use it for anything because it goes absolutely mental after a handful of turns.
Re:Gemini models increasingly stucking in thinking loop by StizzurpXDD on Tuesday June 23, 2026 @05:40AM (#48642517)
It has become too common recently, even when the models used are same.
Re:Gemini models increasingly stucking in thinking loop by GL26 on Tuesday June 23, 2026 @05:49AM (#48642594)
Do you have a website available to show the sessions ?
Re:Gemini models increasingly stucking in thinking loop by StizzurpXDD on Tuesday June 23, 2026 @08:51AM (#48644182)
I have the website which I built in which it got stuck in a thinking loop. But it won't show any of the 100 tests I did. I am thinking of writing an article on this though. If you want to see, the site's Nasengetu. It is indexed so you can find it in Google search.
Re:Gemini models increasingly stucking in thinking loop by haky_nash on Tuesday June 23, 2026 @05:23AM (#48642384)
conflicting instructions in prompts and though signatures being passed down across toolcall chains solved this for me
Re:Gemini models increasingly stucking in thinking loop by StizzurpXDD on Tuesday June 23, 2026 @05:02AM (#48642241)
All the tasks done were in Google Antigravity 2.0.
Re:Gemini models increasingly stucking in thinking loop by xnx on Tuesday June 23, 2026 @05:32AM (#48642450)
Do you have a single example?
Re:Gemini models increasingly stucking in thinking loop by StizzurpXDD on Tuesday June 23, 2026 @05:44AM (#48642548)
I have multiple examples. Just yesterday, when I was trying to implement a caching system for my website Nasengetu, and it completely stuck in a loop-where it runs a log fetch using the git command and then thinks about the result, then runs the command again, and think again. And this repeated until I stopped it when it almost completely exhausted my five hour request limit.
Re:Gemini models increasingly stucking in thinking loop by chris_wot on Tuesday June 23, 2026 @05:37AM (#48642494)
I dunno about stuck, but I get a lot of errors that prevent me from submitting new prompts.
Re:Gemini models increasingly stucking in thinking loop by neonstatic on Tuesday June 23, 2026 @05:18AM (#48642348)
Getting stuck
Re:Gemini models increasingly stucking in thinking loop by daft_pink on Tuesday June 23, 2026 @10:15AM (#48645328)
I find when I use Gemini Web Chat that it often just starts over mid-conversation and doesn't remember the rest of the context of the conversation whereas Claude and ChatGPT never do that.