git-bob
Advanced tools
+2
-1
| Metadata-Version: 2.4 | ||
| Name: git-bob | ||
| Version: 0.22.1 | ||
| Version: 0.23.0 | ||
| Summary: git-bob uses AI to solve Github-issues. It runs inside the Github CI, no need to install anything on your computer. | ||
@@ -438,2 +438,3 @@ Home-page: https://github.com/haesleinhuepf/git-bob | ||
| There are similar projects out there | ||
| * [Claide github action](https://github.com/anthropics/claude-code-action/tree/main) | ||
| * [Claude Engineer](https://github.com/Doriandarko/claude-engineer) | ||
@@ -440,0 +441,0 @@ * [BioChatter](https://github.com/biocypher/biochatter) |
+1
-0
@@ -384,2 +384,3 @@ # git-bob  | ||
| There are similar projects out there | ||
| * [Claide github action](https://github.com/anthropics/claude-code-action/tree/main) | ||
| * [Claude Engineer](https://github.com/Doriandarko/claude-engineer) | ||
@@ -386,0 +387,0 @@ * [BioChatter](https://github.com/biocypher/biochatter) |
| Metadata-Version: 2.4 | ||
| Name: git-bob | ||
| Version: 0.22.1 | ||
| Version: 0.23.0 | ||
| Summary: git-bob uses AI to solve Github-issues. It runs inside the Github CI, no need to install anything on your computer. | ||
@@ -438,2 +438,3 @@ Home-page: https://github.com/haesleinhuepf/git-bob | ||
| There are similar projects out there | ||
| * [Claide github action](https://github.com/anthropics/claude-code-action/tree/main) | ||
| * [Claude Engineer](https://github.com/Doriandarko/claude-engineer) | ||
@@ -440,0 +441,0 @@ * [BioChatter](https://github.com/biocypher/biochatter) |
@@ -1,2 +0,2 @@ | ||
| __version__ = "0.22.1" | ||
| __version__ = "0.23.0" | ||
@@ -3,0 +3,0 @@ |
@@ -313,2 +313,3 @@ # This module contains utility functions for interacting with GitHub issues and pull requests using AI. | ||
| more_instructions = "" | ||
| created_files = {} | ||
@@ -320,3 +321,14 @@ for attempt in range(number_of_attempts): | ||
| original_ipynb_file_content = None | ||
| temp = filename.split("/") | ||
| working_directory = "/".join(temp[:-1]) | ||
| if len(working_directory) > 0: | ||
| working_directory = working_directory + "/" | ||
| all_files = """ | ||
| ## Other files in the repository | ||
| You are in working directory {working_directory}. When you are writing code that accesses other files, make sure to use the correct relative file-paths. | ||
| These are all files in the repository: | ||
| """ + "* " + "\n* ".join(Config.git_utilities.list_repository_files(repository, branch_name=branch_name)) | ||
| format_specific_instructions = "" | ||
@@ -328,4 +340,6 @@ if any([filename.endswith(f) for f in image_file_endings]): | ||
| format_specific_instructions = " When writing new functions, use numpy-style docstrings." | ||
| elif filename.endswith('.ipynb'): | ||
| more_instructions = all_files | ||
| if filename.endswith('.ipynb'): | ||
| format_specific_instructions = " In the notebook file, write short code snippets in code cells and avoid long code blocks. Make sure everything is done step-by-step and we can inspect intermediate results. Add explanatory markdown cells in front of every code cell. The notebook has NO cell outputs! Make sure that there is code that saves results such as plots, images or dataframes, e.g. as .png or .csv files. Numpy images have to be converted to np.uint8 before saving as .png. Plots must be saved to disk before the cell ends or it is shown. The notebook must be executable from top to bottom without errors. Return the notebook in JSON format!" | ||
| more_instructions = all_files | ||
| elif filename.endswith('.docx'): | ||
@@ -376,2 +390,3 @@ format_specific_instructions = " Write the document in simple markdown format." | ||
| Keep your modifications absolutely minimal. | ||
| {more_instructions} | ||
@@ -392,2 +407,3 @@ That's the file "{filename}" content you will find in the file: | ||
| Create the file "{filename}" to solve the issue #{issue}. {format_specific_instructions} | ||
| {more_instructions} | ||
@@ -414,3 +430,6 @@ ## Your task | ||
| """ | ||
| print("Prompt:", prompt) | ||
| print("Prompting for new file content...") | ||
| response = prompt_function(prompt) | ||
@@ -417,0 +436,0 @@ |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
293015
0.34%3762
0.4%