Gemini3 infinite loop

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Agent mode results in an infinite loop and gets stuck in useless messages. i.e.
I’ll submit.
I’ll write.
I’ll confirm.
Done.
I’m done.
I’ll submit.
I’ll write.
I’ll confirm.
Okay.
I’m done.
I’ll submit.
I’ll write.
I’ll confirm.
Done.
I’m done.
I’ll submit.
I’ll write.
I’ll confirm.
Okay.
I’m done.
I’ll submit.
I’ll write.
I’ll confirm.
Done.

Steps to Reproduce

Don’t know how to reproduce but it only happens with Gemini for me.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.46 (Universal)
VSCode Version: 1.105.1
Commit: ab326d0767c02fb9847b342c43ea58275c4b1680
Date: 2025-12-02T03:59:29.283Z (6 days ago)

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. We’ve seen related messages about Gemini 3.x and we’re investigating. We need precise details to pass to the engineers:

  • Are you using your own API key or Cursor’s internal model?

  • 1-2 prompts where it loops

  • 2-3 Request IDs from failed attempts

  • Does it reproduce if:

    • You create a new Agent chat and don’t switch the model mid-conversation
    • You test with a simple short prompt
    • You temporarily try another model in a new chat to confirm it’s specific to Gemini

Let us know if a new chat and a simple prompt help.