Repository navigation
Replies: 8 comments 4 replies
|
I shall try soon, as I have created public guides https://github.com/Manamama/Puzzles_for_AIs/blob/main/docs%2Fguides%2Fgemini_editing_tools_summary.md sample one, how to avoid just that: the replace tool errors in older version. |
|
I switched to Codex just because of this horrible unusable edit/replace fails and then a loop of 3-4 times sending huge amounts of tokens back and forth. Will try it as soon as possible. Btw Codex seems to be much better now when I was forced to use it, the agentic work is amazing there. |
|
Quick informal feedback: when with |
|
Only after about 50 mid-difficulty Easy fix: that is: nothing to change there, state management confusion on part of Gemini AI, I reckon. |
|
Only after about 400 not planned (ad hoc) edits, the below happened, somehow reminiscent of old problems with |
|
Gemini should just grep the damn file for the line, get proper line numbers with it, and replace. Idk what is it doing, but this is beyond ridiculous. |
|
My error rate has dropped from painfully high to near zero once I enabled this. Thanks! |
|
After about 2000 edits, I concur: #7758 (comment) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We have been working on simplifying and improving our Edit/Replace tool. We are pleased to present the first iteration of its alternative implementation and we're looking for users to help us test it before making it the default.
What's Changed?
The old edit tool could fail if it didn't find the exact text you wanted to replace. The new Edit tool is more flexible and resilient. And if it can't find a perfect match right away, it uses Gemini to intelligently figure out what it was originally meant. This makes it far more likely to succeed.
How to test it?
This feature is enabled by default in the release v0.4.0-preview and v.0.5.0-preview. But if you want to opt-out and disabled it, that's ok! You can do that in your
.gemini/settings.jsonfile:If you are using the most recent released Release v0.4.1, you can enable it in your
.gemini/settings.jsonfile:We'd love to hear your feedback, especially on complex edits where the old tool might have struggled. This is a first step! We want to hear your first impressions and continue iterating on it!
Thank you for helping us improve gemini-cli!
All reactions