git-bob
Advanced tools
+1
-1
| Metadata-Version: 2.4 | ||
| Name: git-bob | ||
| Version: 0.23.1 | ||
| Version: 0.24.0 | ||
| Summary: git-bob uses AI to solve Github-issues. It runs inside the Github CI, no need to install anything on your computer. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/haesleinhuepf/git-bob |
| Metadata-Version: 2.4 | ||
| Name: git-bob | ||
| Version: 0.23.1 | ||
| Version: 0.24.0 | ||
| Summary: git-bob uses AI to solve Github-issues. It runs inside the Github CI, no need to install anything on your computer. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/haesleinhuepf/git-bob |
@@ -1,5 +0,4 @@ | ||
| __version__ = "0.23.1" | ||
| __version__ = "0.24.0" | ||
| __all__ = ( | ||
| ) |
@@ -397,3 +397,12 @@ # This module contains utility functions for interacting with GitHub issues and pull requests using AI. | ||
| Keep your modifications absolutely minimal. | ||
| Return the entire new file content, do not shorten it. | ||
| If the modifications are long, return the entire new file content, do not shorten it. | ||
| If the modification is short, return the original part you would like to replace and the new part you would like to replace it with. | ||
| Do this in this format: | ||
| <original_part> | ||
| Original (unmodified) part of the file content you would like to replace. | ||
| </original_part> | ||
| <new_part> | ||
| New (modified) part of the file content you would like to replace it with. | ||
| </new_part> | ||
| """ | ||
@@ -434,2 +443,8 @@ else: | ||
| if "<original_part>" in new_content and "<new_part>" in new_content: | ||
| for part in new_content.split("</new_part>")[:-1]: | ||
| original_part = part.split("<original_part>")[1].split("</original_part>")[0] | ||
| new_part = part.split("<new_part>")[1] | ||
| new_content = file_content.replace(original_part, new_part) | ||
| print("New file content", len(new_content), "\n------------\n", new_content[:200], "\n------------") | ||
@@ -436,0 +451,0 @@ |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
293896
0.26%3777
0.35%