git-bob
Advanced tools
+1
-1
| Metadata-Version: 2.4 | ||
| Name: git-bob | ||
| Version: 0.27.1 | ||
| Version: 0.27.2 | ||
| 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.27.1 | ||
| Version: 0.27.2 | ||
| 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,2 +0,2 @@ | ||
| __version__ = "0.27.1" | ||
| __version__ = "0.27.2" | ||
@@ -3,0 +3,0 @@ __all__ = ( |
@@ -63,3 +63,4 @@ # This module contains utility functions for interacting with GitHub issues and pull requests using AI. | ||
| discussion = modify_discussion(Config.git_utilities.get_conversation_on_issue(repository, issue), prompt_visionlm=prompt_function) | ||
| discussion = modify_discussion(Config.git_utilities.get_conversation_on_issue(repository, issue), | ||
| prompt_visionlm=prompt_function, repository=repository, branch_name="main") | ||
| print("Discussion:", discussion) | ||
@@ -88,2 +89,4 @@ | ||
| filenames = [f for f in filenames if not is_ignored(f, repository, "main")] | ||
| file_content_dict = Config.git_utilities.get_repository_file_contents(repository, "main", filenames) | ||
@@ -153,3 +156,6 @@ | ||
| discussion = modify_discussion(Config.git_utilities.get_conversation_on_issue(repository, issue), prompt_visionlm=prompt_function) | ||
| discussion = modify_discussion(Config.git_utilities.get_conversation_on_issue(repository, issue), | ||
| prompt_visionlm=prompt_function, | ||
| repository=repository, | ||
| branch_name="main") | ||
| print("Discussion:", discussion) | ||
@@ -612,3 +618,6 @@ | ||
| discussion = modify_discussion(Config.git_utilities.get_conversation_on_issue(repository, issue), prompt_visionlm=prompt_function) | ||
| discussion = modify_discussion(Config.git_utilities.get_conversation_on_issue(repository, issue), | ||
| prompt_visionlm=prompt_function, | ||
| repository=repository, | ||
| branch_name=base_branch) | ||
| print("Discussion:", discussion) | ||
@@ -615,0 +624,0 @@ |
@@ -264,5 +264,6 @@ # This module provides utility functions for text processing, including functions to remove indentation and outer markdown from text. | ||
| def modify_discussion(discussion, prompt_visionlm=prompt_openai): | ||
| def modify_discussion(discussion, prompt_visionlm=prompt_openai, repository=None, branch_name=None): | ||
| import re | ||
| import docx2markdown | ||
| from ._ai_github_utilities import is_ignored | ||
| #from ._github_utilities import get_conversation_on_issue, get_diff_of_pull_request, get_file_in_repository | ||
@@ -277,2 +278,5 @@ | ||
| if branch_name is None: | ||
| branch_name = "main" | ||
| # Process each URL based on its type | ||
@@ -353,3 +357,3 @@ for url in urls: | ||
| # check if file exists | ||
| if os.path.exists(potential_filename): | ||
| if os.path.exists(potential_filename) and not is_ignored(potential_filename, repository, branch_name): | ||
| if potential_filename.endswith('.ipynb'): | ||
@@ -356,0 +360,0 @@ file_contents = read_text_file(potential_filename) |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
297632
0.23%3856
0.29%