From 90c7bdc1c00d35fac5ebf50b4c7fc4c9b2abf312 Mon Sep 17 00:00:00 2001 From: Romain Pomier Date: Wed, 6 Dec 2023 16:50:01 +0100 Subject: [PATCH] Package --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 897b40d..7de3751 100644 --- a/src/main.ts +++ b/src/main.ts @@ -84,7 +84,7 @@ function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string { const rulesPrompt = rules === "" ? "" - : `Your review will only ensure the following rules are followed: + : `Your review will *only* ensure the following rules are followed: ${rules}`; 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. 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 description: