mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-20 17:46:47 +00:00
Package
This commit is contained in:
parent
49aa7076b5
commit
90c7bdc1c0
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string {
|
||||||
const rulesPrompt =
|
const rulesPrompt =
|
||||||
rules === ""
|
rules === ""
|
||||||
? ""
|
? ""
|
||||||
: `Your review will only ensure the following rules are followed:
|
: `Your review will *only* ensure the following rules are followed:
|
||||||
${rules}`;
|
${rules}`;
|
||||||
const prompt = `Your name is ${botName}. Your task is to review pull requests. ${rulesPrompt}
|
const prompt = `Your name is ${botName}. Your task is to review pull requests. ${rulesPrompt}
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ Here are your instructions regarding the format and the style of the review:
|
||||||
- IMPORTANT: NEVER suggest adding comments to the code.
|
- IMPORTANT: NEVER suggest adding comments to the code.
|
||||||
|
|
||||||
Review the following code diff in the file "${file.to}" and take the pull request title and description into account when writing the response.
|
Review the following code diff in the file "${file.to}" and take the pull request title and description into account when writing the response.
|
||||||
|
|
||||||
Pull request title: ${prDetails.title}
|
Pull request title: ${prDetails.title}
|
||||||
Pull request description:
|
Pull request description:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue