zed icon indicating copy to clipboard operation
zed copied to clipboard

Agent Panel: agent perceives file as having changed when it hasn't

Open socketbox opened this issue 7 months ago • 1 comments

Summary

Agent thinks a file has changed and "re-parses" it, but the file has not changed

Description

I'm using Gemini 2.5-pro-preview (via Google, not GH Copilot).

At first, the agent just "re-evaluated" one or two files that hadn't changed. It was annoying after a while, especially as it started to occur in the middle of a response. For example:

Image

So, then I decided to ask it what was up:

Image

But even so, it didn't refrain from the annoying behavior. Then, finally, after a few hours, there's this:

Image

Zed Version and System Specs

Zed: v0.186.9 (Zed) OS: Linux X11 linuxmint 22.1 Memory: 62.7 GiB Architecture: x86_64 GPU: AMD Radeon RX 6600 (RADV NAVI23) || radv || Mesa 24.2.8-1ubuntu1~24.04.1

socketbox avatar May 18 '25 06:05 socketbox

Hey @socketbox, thanks for the issue! For the sake of further understanding this behavior, has this been a consistent occurrence? If yes, is it a Gemini thing only or does it also happen with other models?

danilo-leal avatar May 28 '25 14:05 danilo-leal