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

Creating new files instead of many edits #6873

Open
amirshawn opened this issue Feb 21, 2025 · 0 comments
Open

Creating new files instead of many edits #6873

amirshawn opened this issue Feb 21, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@amirshawn
Copy link

What problem or use case are you trying to solve?
Sometimes the agent will make a lot of edits to one file. Many times after about 5 edits the edit fails because the conent isn't exactly as expected so it reads the file and continues editing it. This not only takes a long time, I think since it fails and has to read the file it ends up costing more.

Do you have thoughts on the technical implementation?
I think some logic about how many edits are needed also factoring in the file size. I know when it has to create a large file this can be problematic. But creating a small file it super fast.

@amirshawn amirshawn added the enhancement New feature or request label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant