-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add diff object to FixIssue & ModifyCode steps (#1192)
* feat: add diff object to FixIssue and ModifyCode step outputs - Add diff field to ModifiedFile and ModifiedCodeFile types - Include file content diffs in FixIssue output - Add before/after diff information to ModifyCode output - Keep changes minimal while maintaining existing functionality Co-Authored-By: Patched <[email protected]> * refactor: improve diff generation in FixIssue and ModifyCode steps Co-Authored-By: Patched <[email protected]> * fix: address diff generation, security, and file handling issues for PR #1192 Co-Authored-By: Patched <[email protected]> * refactor: remove git dependency in FixIssue, switch to in-memory diff in FixIssue & ModifyCode Co-Authored-By: Patched <[email protected]> * feat: use git diff when in git repo, empty string otherwise Co-Authored-By: Patched <[email protected]> * refactor: replace print statements with logger.warning calls Co-Authored-By: Patched <[email protected]> * Some logic changes and more succint code * bump patchwork version --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Patched <[email protected]> Co-authored-by: TIANYOU CHEN <[email protected]>
- Loading branch information
1 parent
3e81f25
commit 497cbac
Showing
5 changed files
with
157 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters