Gemini 3 Pro constantly failing to edit files

Seeing “Model produced a malformed edit” in progress updates then Gemini Pro behaves like everything is fine and reports that current task is successfull, like it didn’t detect failed edits.

Thought sample after user restating that edit failed: “The prior attempt to resolve the issue with (some file).tsx by replacing the entire file content failed. The “target content not found” error is perplexing, given I was trying to adjust (some changes) using replace_file_content”.

This error happens with Flash too, but far less frequently.

Yes lately this has been a really painful process… everything seems to be broken…

yes same issue since last few days and results are painfully slow.

This has been happening more lately. The only way I can get out of this is to make sure to create an MD file using “/file.md”. It explicitly says what the limitation of the file being edited can have.

Ex. file.md is being edited cant have embeddings of of pictures or videos.

Type “/file.md “what you want to ask or do”

This doesnt happen in opus 4.5

i have the same issue … i navigate around this issue by prompting the gemini to make a separate python script and use that to implement all changes to my files.

The situation greatly improved with the latest updates. This topic was about Antigravity though.

It’s still not better, edits are frequently broken. It’s very clear that the harness of Antigravity isn’t nearly as good as Claude Code’s.

it’s still happening in the last update. is anyone found a way to solve?

It’s up to Antigravity devs to fix this, that’s why this topic exists.

Speaking of “harness”, Claude models do not have this problem in AG.