Gemini 2.5 pro : stuck outputting the same message repeatedly

Describe the Bug

Good job this was gemini and not claude :). that would have chewed my tokens.

Gemini got stuck in a loop repeating the same message. It only stopped when i noticed and hit the ‘stop’ button

Steps to Reproduce

I’m not exactly sure, I asked gemini to do a fairly standard refactor, it then seemed very excited to tell me what it had done!

Expected Behavior

One message instead of the stream ofd them

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (user setup)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T17:09:01.383Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. Does this also happen in a new chat? Also, could you share the request ID? First, you’ll need to disable privacy mode.