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

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.

2 Likes

Did it start happening today? Was it after a VsCode update? If yes, so am I same! :anger_symbol: :face_with_symbols_on_mouth:

1 Like

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

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

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

Just started encountering this after opening a new chat.


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

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.