Edits are sometimes blank changes when AI believes it actually did make a change.
What happened?
I asked Gemini to make a change and it says: " You are absolutely correct. I apologize for the syntax error. The traceback indicates an unterminated f-string, which is a clear mistake on my part. I will now correct the code."
Then in the edit window it says "No changes detected". When I look at the git diffs, it didn't make any changes, but the AI says: "My apologies. The syntax error was caused by an unclosed f-string. I have now fixed the issue."
But in actuality no changes were made. I have to prompt it, telling it there was an error and no changes were made and to make them again for it to work.
What did you expect to happen?
I expected it to make the needed changes.
Client information
- CLI Version: 0.1.12
- Git Commit: b29c02dd (local modifications)
- Operating System: win32 v22.17.0
- Sandbox Environment: no sandbox
- Model Version: gemini-2.5-pro
- Memory Usage: 170.4 MB
Login information
Google Account
Anything else we need to know?
No response
Thanks for reporting! Merging this into a broader issue around improving the edit tool