Revert "feat: add recent commits"

This reverts commit b0e9dcf3a1.
This commit is contained in:
2025-05-19 11:58:11 -03:00
parent b0e9dcf3a1
commit f6efd68bdd
2 changed files with 4 additions and 5 deletions

View File

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

View File

@ -67,7 +67,7 @@ PROMPTS = {
"The content will be added automatically, your job is just to create a good title."
),
"create_pr": (
"You are creating a pull request."
"You are creating a pull request for the file README_Prometheus.md you have generated. "
"The repository has been cloned to the current directory.\n"
"Use the `create_pull_request_legacy` tool to create the pull request.\n"
"IMPORTANT: Always use relative paths (e.g., 'src/file.py' not '/src/file.py')\n\n"