Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Been working with Gemini 3 Flash for the last couple of days and twice now have gotten the “Agent looping detected” error. Not sure why its happening but has cost me 1.50$ so far.
Steps to Reproduce
Use cursor normally.
Expected Behavior
Agent chats don’t fail.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.3.10
VSCode Version: 1.105.1
Commit: af6d64e4848e6185e482a2de5bac040191c8d790
Date: 2025-12-29T03:56:22.219Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0
For AI issues: add Request ID with privacy disabled
Request ID: afdba2ae-f3c7-4f01-b015-53e41e03e6ba
{“error”:“ERROR_CUSTOM_MESSAGE”,“details”:{“title”:“Unrecoverable agent model looping detected”,“detail”:“Unrecoverable agent model looping detected.”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor