From b0e9dcf3a1af4df80822c9e1e28350cedae7509c Mon Sep 17 00:00:00 2001 From: HermanL02 Date: Mon, 19 May 2025 11:57:12 -0300 Subject: [PATCH] feat: add recent commits --- worker/orca-agent/src/workflows/repoSummarizer/phases.py | 7 ++++--- worker/orca-agent/src/workflows/repoSummarizer/prompts.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/worker/orca-agent/src/workflows/repoSummarizer/phases.py b/worker/orca-agent/src/workflows/repoSummarizer/phases.py index 85b2122..7b474c9 100644 --- a/worker/orca-agent/src/workflows/repoSummarizer/phases.py +++ b/worker/orca-agent/src/workflows/repoSummarizer/phases.py @@ -19,7 +19,7 @@ class RepoClassificationPhase(WorkflowPhase): super().__init__( workflow=workflow, prompt_name="classify_repository", - available_tools=["read_file", "search_code", "classify_repository"], + available_tools=["read_file", "search_code", "list_directory_contents", "classify_repository"], conversation_id=conversation_id, name="Repository Classification", ) @@ -33,6 +33,7 @@ class ReadmeSectionGenerationPhase(WorkflowPhase): available_tools=[ "read_file", "search_code", + "list_directory_contents", "create_readme_section", ], conversation_id=conversation_id, @@ -56,7 +57,7 @@ class ReadmeReviewPhase(WorkflowPhase): super().__init__( workflow=workflow, prompt_name="review_readme_file", - available_tools=["read_file", "search_code", "review_readme_file"], + available_tools=["read_file", "search_code", "list_directory_contents", "review_readme_file"], conversation_id=conversation_id, name="Readme Review", ) @@ -67,7 +68,7 @@ class CreatePullRequestPhase(WorkflowPhase): super().__init__( workflow=workflow, prompt_name="create_pr", - available_tools=["read_file", "search_code", "create_pull_request_legacy"], + available_tools=["read_file", "search_code", "list_directory_contents", "create_pull_request_legacy"], conversation_id=conversation_id, name="Create Pull Request", ) diff --git a/worker/orca-agent/src/workflows/repoSummarizer/prompts.py b/worker/orca-agent/src/workflows/repoSummarizer/prompts.py index 415cd77..dc298ff 100644 --- a/worker/orca-agent/src/workflows/repoSummarizer/prompts.py +++ b/worker/orca-agent/src/workflows/repoSummarizer/prompts.py @@ -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 for the file README_Prometheus.md you have generated. " + "You are creating a pull request." "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"