8000 fix(auto-edit): do not suggest empty line insertions by valerybugakov · Pull Request #7855 · sourcegraph/cody · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(auto-edit): do not suggest empty line insertions #7855

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2025

Conversation

valerybugakov
Copy link
Member

Do not suggest empty line insertions from hot-streak chunks. It was caused by the fact that we did not remove the last empty line from the predicted lines when diffing against the code to rewrite.

Test plan

CI + new unit tests

Copy link
Contributor
@hitesh-1997 hitesh-1997 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested manually, looks good !!

@valerybugakov valerybugakov merged commit ee36817 into main May 6, 2025
20 of 21 checks passed
@valerybugakov valerybugakov deleted the vb/filter-before-cache-3 branch May 6, 2025 02:48
umpox pushed a commit that referenced this pull request May 6, 2025
…7866)

Do not suggest empty line insertions from hot-streak chunks. It was
caused by the fact that we did not remove the last empty line from the
predicted lines when diffing against the code to rewrite.

## Test plan

CI + new unit tests
 <br> Backport ee36817 from #7855

Co-authored-by: Valery Bugakov <skymk1@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0