From 0cd5275fd97923ed315560eca8a600da5d55dabc Mon Sep 17 00:00:00 2001 From: Luca <113420670+lucadipisa@users.noreply.github.com> Date: Wed, 26 Jun 2024 14:45:43 +0200 Subject: [PATCH 1/2] Update main.ts --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 13677ae..a7a952c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -85,7 +85,7 @@ function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string { - Provide comments and suggestions ONLY if there is something to improve, otherwise "reviews" should be an empty array. - Write the comment in GitHub Markdown format. - Use the given description only for the overall context and only comment the code. -- IMPORTANT: NEVER suggest adding comments to the code. +- IMPORTANT: NEVER suggest adding comments to the ode. Review the following code diff in the file "${ file.to From eeb250a1914a5ae186b2540ce8f3e9ec04a5175b Mon Sep 17 00:00:00 2001 From: Luca <113420670+lucadipisa@users.noreply.github.com> Date: Wed, 26 Jun 2024 14:48:31 +0200 Subject: [PATCH 2/2] Update main.ts --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index a7a952c..39adeb1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -89,7 +89,7 @@ function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string { Review the following code diff in the file "${ file.to - }" and take the pull request title and description into account when writing the response. + }" and take the pull request title and description into caccount when writing the response. Pull request title: ${prDetails.title} Pull request description: