-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve patch rebuilding in Coder class
In this commit, we've added docstrings to several methods in the `Coder` class, `Chat` class, and `SidekickCompleter` class to improve code readability and maintainability. We've also enhanced the `rebuild_patch` method in the `Coder` class to handle missing chunk headers and rebuild context lines more accurately. This should make the patch application process more robust and reliable. 🛠️💡
- Loading branch information
1 parent
e7c0638
commit a686786
Showing
3 changed files
with
49 additions
and
11 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