Skip to content

Commit 7cdaf5c

Browse files
committed
feat: instruct agent to clone repos at runtime instead of relying on pre-cloned image
Repos are no longer pre-cloned in the Docker image so the agent always reviews against the latest code.
1 parent 5271f55 commit 7cdaf5c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/scripts/prompts/review.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ Review this GitHub PR: {pr_url}
22

33
You have tools to fetch the PR diff, read files, search the web, and post comments on the PR.
44

5-
You have these repos cloned locally for context:
5+
First, clone the repos you'll need for context:
6+
- git clone https://github.com/aws/agentcore-cli.git /opt/workspace/agentcore-cli
7+
- git clone https://github.com/aws/agentcore-l3-cdk-constructs.git /opt/workspace/agentcore-l3-cdk-constructs
8+
9+
Then use these local repos for context:
610
- /opt/workspace/agentcore-cli — aws/agentcore-cli
711
- /opt/workspace/agentcore-l3-cdk-constructs — aws/agentcore-l3-cdk-constructs
812

0 commit comments

Comments
 (0)