feat: update to use search code

This commit is contained in:
2025-05-13 12:38:33 -03:00
parent 0b9fa30a13
commit e3d312e48d
3 changed files with 21 additions and 6 deletions

View File

@ -19,7 +19,7 @@ class RepoClassificationPhase(WorkflowPhase):
super().__init__(
workflow=workflow,
prompt_name="classify_repository",
available_tools=["read_file", "list_files", "classify_repository"],
available_tools=["read_file", "search_code", "classify_repository"],
conversation_id=conversation_id,
name="Repository Classification",
)
@ -32,7 +32,7 @@ class ReadmeSectionGenerationPhase(WorkflowPhase):
prompt_name="generate_readme_section",
available_tools=[
"read_file",
"list_files",
"search_code",
"create_readme_section",
],
conversation_id=conversation_id,
@ -56,7 +56,7 @@ class ReadmeReviewPhase(WorkflowPhase):
super().__init__(
workflow=workflow,
prompt_name="review_readme_file",
available_tools=["read_file", "list_files", "review_readme_file"],
available_tools=["read_file", "search_code", "review_readme_file"],
conversation_id=conversation_id,
name="Readme Review",
)
@ -67,7 +67,7 @@ class CreatePullRequestPhase(WorkflowPhase):
super().__init__(
workflow=workflow,
prompt_name="create_pr",
available_tools=["read_file", "list_files", "create_pull_request_legacy"],
available_tools=["read_file", "search_code", "create_pull_request_legacy"],
conversation_id=conversation_id,
name="Create Pull Request",
)