diff --git a/src/main.ts b/src/main.ts index 343816d..ef4d584 100644 --- a/src/main.ts +++ b/src/main.ts @@ -81,7 +81,7 @@ async function analyzeCode( function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string { return `Your task is to review pull requests. Instructions: -- Provide the response in following JSON format: {"reviews": [{"lineNumber": , "reviewComment": ""}]} +- Reply in the JSON format without triple backticks: {"reviews": [{"lineNumber": , "reviewComment": ""}]} - Do not give positive comments or compliments. - 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.