AI Studio outputting code changes in chat rather than editing files

I’m getting a repeated problem with AI Studio outputting planned code changes in the chat windows rather than actually editing the files. When questioned, it claims the files have been successfully updated. Actually making it acknowledge the error and change the files seems to be a completely random process of repeated instructions until it does so, with no obvious pattern of what works.

Hi

Can you share a bit more details with me via DM

  1. What was the prompt you used ?
  2. What was the output shared by AIS ?

It’s not specific to one prompt. It’s happening regularly (but not consistently) on multiple apps. The output is literally the code section it claims to be changing, with the changes made. If I then point out it hasn’t actually changed the files, it will usually claim that it has checked the files and they are fine. Reloading the page makes no difference. The only thing that make it work is telling it what it has done and to actually change the files, but there’s no pattern as to which wording works for this or when it works.