This commit is contained in:
Luca 2024-06-26 12:48:35 +00:00 committed by GitHub
commit c69b8da336
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,11 +85,11 @@ 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. - 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. - 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 ode.
Review the following code diff in the file "${ Review the following code diff in the file "${
file.to 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 title: ${prDetails.title}
Pull request description: Pull request description: