# Agent gets stuck looping the same message

**URL:** <https://forum.cursor.com/t/agent-gets-stuck-looping-the-same-message/122668>\
**Category:** Bug Reports\
**Created:** [July 25, 2025, 5:46pm UTC](https://forum.cursor.com/t/agent-gets-stuck-looping-the-same-message/122668 "2025-07-25T17:46:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![beru](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/beru/32/71130_2.png) [@beru](https://forum.cursor.com/u/beru)\
**Post date:** [July 25, 2025, 5:46pm UTC](https://forum.cursor.com/t/agent-gets-stuck-looping-the-same-message/122668/1 "2025-07-25T17:46:03Z")

</div>

### Describe the Bug

multiple times in different chats i reported all of them , i had to start a new chat to fix it

Sonnet 4 keeps saying this

I can see there are still compilation errors in the test. Let me check the current state of the test file and fix the remaining issues:  
_reading_  
I need to see the current compilation errors and fix them. Let me read the relevant part of the test file to see what’s causing the issues:  
_reading_  
I can see there are still compilation errors. Let me examine the current test file to identify the remaining issues:  
_reading_  
I can see there are still compilation errors. Let me check the exact lines that are causing issues and fix the remaining Math.Round problems:  
_reading_  
I can see there are still compilation errors in the test. Let me examine the current state of the test file and fix the remaining issues:  
_reading_

### Steps to Reproduce

send a message , let it work , send another message → get the issue

### Expected Behavior

not get stuck

### 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

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![condor](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/condor/32/73148_2.png) [@condor](https://forum.cursor.com/u/condor)\
**Post date:** [July 25, 2025, 5:52pm UTC](https://forum.cursor.com/t/agent-gets-stuck-looping-the-same-message/122668/2 "2025-07-25T17:52:24Z")

</div>

Hi @beru Thank you for the bug report. We saw today a several similar reports though the cause was model related.

In order to see more what is causing it, could you post a Request ID with privacy disabled so we can look into the details? [Cursor – Getting a Request ID](https://docs.cursor.com/troubleshooting/request-reporting)

---

<div class="post-metadata">

**Author:** ![beru](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/beru/32/71130_2.png) [@beru](https://forum.cursor.com/u/beru)\
**Post date:** [July 25, 2025, 5:57pm UTC](https://forum.cursor.com/t/agent-gets-stuck-looping-the-same-message/122668/3 "2025-07-25T17:57:19Z")

</div>

I could definitely email it to you, I did report it using Cursor report feature

---

<div class="post-metadata">

**Author:** ![condor](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/condor/32/73148_2.png) [@condor](https://forum.cursor.com/u/condor)\
**Post date:** [July 25, 2025, 6:18pm UTC](https://forum.cursor.com/t/agent-gets-stuck-looping-the-same-message/122668/4 "2025-07-25T18:18:31Z")

</div>

Posting the ID here would sure help as you reported the issue here as well 😅.

---

<div class="post-metadata">

**Author:** ![condor](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/condor/32/73148_2.png) [@condor](https://forum.cursor.com/u/condor)\
**Post date:** [July 26, 2025, 6:39am UTC](https://forum.cursor.com/t/agent-gets-stuck-looping-the-same-message/122668/5 "2025-07-26T06:39:58Z")

</div>

Hi @beru we fixed the looping issue, sorry about that!

> [@Restarting/repeating Agent conversations](https://forum.cursor.com/t/restarting-repeating-agent-conversations/122393/32):
>
> We’ve deployed a fix that stops the looping behavior here. If you see any more requests with this please send a request ID and I can take a look.

---

<div class="post-metadata">

**Author:** ![beru](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/beru/32/71130_2.png) [@beru](https://forum.cursor.com/u/beru)\
**Post date:** [July 26, 2025, 10:49am UTC](https://forum.cursor.com/t/agent-gets-stuck-looping-the-same-message/122668/6 "2025-07-26T10:49:47Z")

</div>

so it was a cursor issue? Does that mean we’ll get refunds for the requests wasted there?

---

<div class="post-metadata">

**Author:** ![condor](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/condor/32/73148_2.png) [@condor](https://forum.cursor.com/u/condor)\
**Post date:** [July 27, 2025, 6:57am UTC](https://forum.cursor.com/t/agent-gets-stuck-looping-the-same-message/122668/7 "2025-07-27T06:57:32Z")

</div>

I’m not aware of the cause as I’m mainly here in the forum but we were able to apply a fix.

For a refund please contact [hi@cursor.com](mailto:hi@cursor.com) as the billing team is handling the requests through email.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [August 18, 2025, 6:58am UTC](https://forum.cursor.com/t/agent-gets-stuck-looping-the-same-message/122668/8 "2025-08-18T06:58:01Z")

</div>

Closed on August 18, 2025, 6:58am UTC

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