Skip to content
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions src/aidd/tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
from .github_tools import (
create_pull_request_review_tool,
get_issue_tool,
get_pull_request_files_tool,
list_issues_tool,
list_pull_requests_tool,
handle_create_pull_request_review,
handle_get_issue,
handle_get_pull_request_files,
handle_list_issues,
handle_list_pull_requests
)
from .code_analysis import handle_codebase_mapper, codebase_mapper_tool
from .code_execution import (
execute_code_tool,
Expand Down Expand Up @@ -82,6 +94,12 @@
web_search_tool(),
# System tools
get_system_info_tool(),
# Github tools
get_issue_tool(),
list_issues_tool(),
list_pull_requests_tool(),
create_pull_request_review_tool(),
get_pull_request_files_tool(),
]

# Export all handlers
Expand Down Expand Up @@ -116,4 +134,10 @@
# Web handlers
"web_fetch": handle_web_fetch,
"web_search": handle_web_search,
# Github handlers
"get_issue": handle_get_issue,
"list_issues": handle_list_issues,
"list_pull_requests": handle_list_pull_requests,
"create_pull_request_review": handle_create_pull_request_review,
"get_pull_request_files": handle_get_pull_request_files,
}
Loading