Skip to content

Commit 51de9bc

Browse files
committed
goauth
1 parent 1d18fd8 commit 51de9bc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ async function getPRDiff(octokit, context) {
2020
}
2121

2222
async function analyzeDiff(diff, modelId, openRouterKey, customPrompt) {
23-
const defaultPrompt = `You are a highly skilled software engineer reviewing a pull request.
23+
const defaultPrompt = `You are a highly skilled staff software engineer reviewing a pull request.
24+
25+
Avoid generic BS advice. For each advice, please provide a file Path of the related change. No need to paste the code itself.
26+
27+
Do not mention what's good on the code. Just focus on what's bad and how to improve.
28+
2429
Analyze the following code changes and provide a detailed review in the following format:
2530
2631
### Potential Issues

0 commit comments

Comments
 (0)