Gemini 2.5 Pro sometimes repeats itself forever

Describe the Bug

Gemini 2.5 Pro sometimes repeats itself forever, specifically, often during the last few paragraphs of the message. It will seemingly go on forever until manually stopped by the user.

Steps to Reproduce

  1. Use Gemini 2.5 Pro often
  2. Eventually encounter this issue randomly

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.6 (user setup)
VSCode Version: 1.96.2
Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Date: 2025-06-25T02:20:02.577Z
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

Additional Information

Request ID: e064595c-b81c-4d75-b402-c2743b82de72

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. I’ve encountered this myself. It seems to happen when the model starts hallucinating and gets stuck in a loop.

This even happened to me in Google AI Studio during the early stages of rolling out this model, so it’s best to start a new chat as often as possible.

This issue is with the Gemini model itself, not Cursor, as it is still in the experimental stage.