-
Notifications
You must be signed in to change notification settings - Fork 100
Improve file and path handling in FixIssue step
#1079
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
Improve file and path handling in FixIssue step
#1079
Conversation
…he right path immediately
|
The pull request review indicates a comprehensive assessment of the code changes, which involve switching from using
Overall, the changes seem beneficial in terms of maintaining consistent path handling, provided the edge cases with
|
PR Checklist
PR Type
What is the current behavior?
Currently the LLM is guessing the location of the repository too many times.
The line-ending of the file that is modified is not respected. Line-ending
\nis always used.Issue Number: N/A
What is the new behavior?
Now the LLM will be given the absolute path to the repository in the prompts. This should better allow the LLM to navigate the filesystem.
Added a new function
detect_newlinewhich will give the most common line-ending given a path.Other information