Skip to content
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

Support Diff-based edits #210

Open
JoeHowarth opened this issue Dec 3, 2024 · 1 comment
Open

Support Diff-based edits #210

JoeHowarth opened this issue Dec 3, 2024 · 1 comment

Comments

@JoeHowarth
Copy link

When working with a large file, it's not practical to have the model re-write it entirely for each edit. Many models support Search + Replace blocks that would make edits faster and make using more powerful and expensive models practical.

For a reference example, look at aider's feature.

@bracesproul
Copy link
Member

You can do this with the highlight to edit feature. On the backend, that takes the highlighted text, along with 200 (if I remember correctly, it's somewhere around there) characters before & after and only regenerates that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants