-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Reviewer agent to summarize PR. #54
Conversation
arihanv
commented
Dec 1, 2023
- New agent called reviewer that uses git diff file to generate a summary of the PR
* Specify Weaviate schema in code
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
app/api/webhook/github/route.ts
Outdated
@@ -344,7 +363,7 @@ ${isComment ? `Comment by @${comment.user.login}: ${comment?.body}.` : ''} | |||
octokit, | |||
prisma, | |||
customerId, | |||
repoName: name | |||
repoName: `${owner}/${name}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking to understand what effects this has
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Me and dexter added it so that we could inject it in the script to clone the repo in the sandbox. Since you need to recreate the https://github/owner/name.git url
@@ -344,7 +378,8 @@ ${isComment ? `Comment by @${comment.user.login}: ${comment?.body}.` : ''} | |||
octokit, | |||
prisma, | |||
customerId, | |||
repoName: name | |||
repoName: `${owner}/${name}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only downstream effect was in prisma.project.update({ where: { ... name: repoName } ... })
in the updateInstructions
tool
|
||
const cloneName = `maige-${repoName.split('/')[1]}` | ||
|
||
const repoSetup = preCmdCallback( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these changes be in the scope of this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…han/mar-6-code-review-bot