We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d18fd8 commit 51de9bcCopy full SHA for 51de9bc
1 file changed
src/index.js
@@ -20,7 +20,12 @@ async function getPRDiff(octokit, context) {
20
}
21
22
async function analyzeDiff(diff, modelId, openRouterKey, customPrompt) {
23
- const defaultPrompt = `You are a highly skilled software engineer reviewing a pull request.
+ 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
29
Analyze the following code changes and provide a detailed review in the following format:
30
31
### Potential Issues
0 commit comments