Gemini 2.5 Pro endless "planning next steps" loop

Describe the Bug

Using Cursor for the first time with a brand new account. Gave gemini-2.5-pro one prompt, which was essentially “review this codebase and summarize it in Project Summary MD file.” Agent accomplished the task, but after the file was created it got stuck in a “planning next steps” loop. Went on for a good several minutes before I cut it off.

I copied all the thinking output from after the task was complete and uploaded it below.

Steps to Reproduce

  • Install Cursor. Clean install on a new MacOS 15.5 machine.
  • Start a new Agent chat using gemini-2.5-pro
  • Ask it to do stuff, see if it gets stuck in loop?

Expected Behavior

Agent should be able to stop thinking and terminate once task is done.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (Universal)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:55:16.443Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Here is the output:
Thinking Output.pdf (58.3 KB)

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.