-
Notifications
You must be signed in to change notification settings - Fork 178
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
feat: minimal diff #583
base: main
Are you sure you want to change the base?
feat: minimal diff #583
Conversation
I've added a check for that. Im interested, what do you do to get it to do that though? |
I just pulled the latest version and tried it, but I can no longer trigger any diff effects. minimize diff: minimal-diff.mp4original diff: normal-diff.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wondering if we can just generate the minimal diff instead of parsing the snippets
Thats weird. Not sure why that's happening. The code that should be applied is definetly different from whats there already, right? |
I've moved it to where the diff is created |
LLMs are still unable to achieve this. |
This reverts commit 4fc5ff6.
o1 can do this, but it is pretty expensive afaict |
I think I'm actually running into a bug which is on As far as I understand But there's this loop in for i = start_line, end_line do
table.insert(result, lines[i])
end Heres a video of the ranges getting messed up: Screen.Recording.2024-09-16.at.00.20.15.movBut I also have one where it works somehow? Screen.Recording.2024-09-16.at.00.22.51.mov |
ok seems like a bug then :)) |
See #582