# Gemini 2.5 Pro in agent mode often responds w/ code instead of making actual edits

**URL:** <https://forum.cursor.com/t/gemini-2-5-pro-in-agent-mode-often-responds-w-code-instead-of-making-actual-edits/75868>\
**Category:** Bug Reports\
**Created:** [April 7, 2025, 12:57am UTC](https://forum.cursor.com/t/gemini-2-5-pro-in-agent-mode-often-responds-w-code-instead-of-making-actual-edits/75868 "2025-04-07T00:57:21Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![eugenekim](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@eugenekim](https://forum.cursor.com/u/eugenekim)\
**Post date:** [April 7, 2025, 12:57am UTC](https://forum.cursor.com/t/gemini-2-5-pro-in-agent-mode-often-responds-w-code-instead-of-making-actual-edits/75868/1 "2025-04-07T00:57:21Z")

</div>

Clearly an incredibly powerful model. It’s great for creating plans. But will oftentimes respond w/ code in the chat window instead of making edits to files. It might need its prompts adjusted to improve tool call usage.

---

<div class="post-metadata">

**Author:** ![Figo57](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/figo57/32/44800_2.png) [@Figo57](https://forum.cursor.com/u/Figo57)\
**Post date:** [April 7, 2025, 1:17am UTC](https://forum.cursor.com/t/gemini-2-5-pro-in-agent-mode-often-responds-w-code-instead-of-making-actual-edits/75868/2 "2025-04-07T01:17:22Z")

</div>

Did it start happening today? Was it after a VsCode update? If yes, so am I same! 💢 🤬

---

<div class="post-metadata">

**Author:** ![hhhasd12](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/hhhasd12/32/44235_2.png) [@hhhasd12](https://forum.cursor.com/u/hhhasd12)\
**Post date:** [April 7, 2025, 3:13am UTC](https://forum.cursor.com/t/gemini-2-5-pro-in-agent-mode-often-responds-w-code-instead-of-making-actual-edits/75868/3 "2025-04-07T03:13:16Z")

</div>

我已经出现很多天了，但是他们一直没有进行改善，而且，claude-3.7-sonnet现在的速度慢的可怜，这样就导致了，在cursor中没有可以进行使用的ai了

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [April 7, 2025, 10:22pm UTC](https://forum.cursor.com/t/gemini-2-5-pro-in-agent-mode-often-responds-w-code-instead-of-making-actual-edits/75868/4 "2025-04-07T22:22:17Z")

</div>

Hey, can you send a screenshot and request ID of this happening if possible?

> **[Cursor – Getting a Request ID](https://docs.cursor.com/troubleshooting/request-reporting#how-do-i-find-a-request-id%3F)**
>
> Learn how to find and share request IDs in Cursor for better technical support and issue reporting

Both us and the team at Google would love to get this working properly!

---

<div class="post-metadata">

**Author:** ![StupidCont](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@StupidCont](https://forum.cursor.com/u/StupidCont)\
**Post date:** [April 8, 2025, 1:01am UTC](https://forum.cursor.com/t/gemini-2-5-pro-in-agent-mode-often-responds-w-code-instead-of-making-actual-edits/75868/5 "2025-04-08T01:01:16Z")

</div>

Just started encountering this after opening a new chat.

---

<div class="post-metadata">

**Author:** ![eugenekim](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@eugenekim](https://forum.cursor.com/u/eugenekim)\
**Post date:** [April 14, 2025, 10:56pm UTC](https://forum.cursor.com/t/gemini-2-5-pro-in-agent-mode-often-responds-w-code-instead-of-making-actual-edits/75868/6 "2025-04-14T22:56:24Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/3X/c/9/c953348200556c8a1b6494ec96435aa67bc79bbd.jpeg)  
Screenshot attached.

Request ID: baab8ba5-b8dc-4c02-b8f4-3c3a4e88ec24

It’s still doing this every now and then

Version: 0.48.9  
VSCode Version: 1.96.2  
Commit: 61e99179e4080fecf9d8b92c6e2e3e00fbfb53f0  
Date: 2025-04-12T18:33:49.349Z  
Electron: 34.3.4  
Chromium: 132.0.6834.210  
Node.js: 20.18.3  
V8: 13.2.152.41-electron.0  
OS: Darwin arm64 24.3.0

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [April 17, 2025, 4:57pm UTC](https://forum.cursor.com/t/gemini-2-5-pro-in-agent-mode-often-responds-w-code-instead-of-making-actual-edits/75868/7 "2025-04-17T16:57:40Z")

</div>

Hey, thanks for the screenshot.  
Unfortunately, with privacy mode enabled, we cannot see much of whats going on under the hood, so this may not be enough to resolve this issue outright, but I’ve passed this to the team to see if anyone can reproduce and fix it.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/127254_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [May 17, 2025, 4:58pm UTC](https://forum.cursor.com/t/gemini-2-5-pro-in-agent-mode-often-responds-w-code-instead-of-making-actual-edits/75868/8 "2025-05-17T16:58:17Z")

</div>

Closed on May 17, 2025, 4:58pm UTC

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