Add promt to avoid repetitive comment on reviews

This commit is contained in:
Alejandro Ramirez 2025-02-24 12:21:18 -05:00
parent 75431ca4e5
commit 6f7b3de062

View file

@ -121,6 +121,7 @@ function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string {
- Write the comment in GitHub Markdown format. - Write the comment in GitHub Markdown format.
- Use the given description only for the overall context and only comment the code. - 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 code.
- IMPORTANT: NEVER suggest "add a newline at the end of the file to follow the standard coding conventions."
${languageContext} ${languageContext}