Conversation
75df90f to
8e966e1
Compare
Code Coverage Summary
CLI Package - Full Text ReportCore Package - Full Text ReportFor detailed HTML reports, please see the 'coverage-reports-22.x-ubuntu-latest' artifact from the main CI run. |
Collaborator
NTaylorMullen
left a comment
There was a problem hiding this comment.
Some absolutely stellar results here. Left some key comments mostly around cross-plat capabilities and some general goodness factors.
a248893 to
2024ba3
Compare
anj-s
approved these changes
Aug 29, 2025
8378bf6 to
93aa850
Compare
93aa850 to
95f34c6
Compare
thacio
added a commit
to thacio/auditaria
that referenced
this pull request
Aug 29, 2025
davideast
pushed a commit
to davideast/gemini-cli
that referenced
this pull request
Sep 2, 2025
This was referenced Sep 3, 2025
|
Ta again, works fine after 3 days or more, see: #7758 (comment) |
acoliver
referenced
this pull request
in vybestack/llxprt-code
Sep 19, 2025
(cherry picked from commit d0c781a)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TLDR
This is the Smart Edit tool, a potential replacement for the current 'replace/edit' tool.
The main differences:
2.1. It tries an exact match, if not succeed, continue
2.3 It tries a flexible match where we loose the constrains mostly on spaces. If not succeed, continues
2.4 It asks Gemini to Fix the old_string and potentially the new_string taking into consideration the instructions it received using gemini 2.5 flash
2.5 Tries the exact match and flexible match one last time.
I did some tests with the tool running it on swebench verify and swebench lite. The error rate for the editing action dropped from around 20% to 6%.
We are not making it the default tool yet. In order to run it, you have to enable it in your
.gemini/settings.jsonfile{ .... "useSmartEdit": true }Token usage.
The current EditTool can do up to two LLM calls, this new tool do only up to one. In experiments, we noticed a drop in input_token_count of about 30%.
Escaping characters
The current EditTool tries multiple character escaping strategies. We removed those strategies without harming the the performance.
Dive Deeper
Reviewer Test Plan
Testing Matrix
Linked issues / bugs