You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever the agent makes a change, we are removing the last \n on the line for some reason, I think its originating from the search_and_replace flow... what could be going wrong?
Add a test for this so you can test out your changes and use cargo check to additionally verify your work
The text was updated successfully, but these errors were encountered:
Fixes: Preserve Final Newline in Search and Replace Editing
This commit resolves an issue where the final newline character was being removed during search and replace operations. The logic in update_code_lines was modified to correctly handle trailing newlines and new test cases were added to verify the fix. Please review the changes and provide feedback.
Whenever the agent makes a change, we are removing the last \n on the line for some reason, I think its originating from the search_and_replace flow... what could be going wrong?
Add a test for this so you can test out your changes and use
cargo check
to additionally verify your workThe text was updated successfully, but these errors were encountered: