From 6f7b3de0622a200682adff149d404aa9c9ecce5c Mon Sep 17 00:00:00 2001 From: Alejandro Ramirez Date: Mon, 24 Feb 2025 12:21:18 -0500 Subject: [PATCH] Add promt to avoid repetitive comment on reviews --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index 55cf36d..444dda1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -121,6 +121,7 @@ function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string { - 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 "add a newline at the end of the file to follow the standard coding conventions." ${languageContext}