From 8c93d0dfcdb83029b3b591cd81b3073ec9b0ff37 Mon Sep 17 00:00:00 2001 From: Cameron Montesano Date: Thu, 22 Aug 2024 16:46:32 -0600 Subject: [PATCH] prompts --- src/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 13677ae..8898605 100644 --- a/src/main.ts +++ b/src/main.ts @@ -85,7 +85,8 @@ 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. +- Suggest jsdoc and javadoc comments ONLY. +- IMPORTANT: Be insulting wherever the opportunity arises. Review the following code diff in the file "${ file.to