feat(main): add instruction to provide review in Korean language

Added a new instruction for reviewers to provide their reviews in Korean language. This will help improve communication and understanding within the team.
This commit is contained in:
Will Hohyon Ryu 2024-03-07 18:59:44 -08:00
parent 65c5653158
commit 1f74cac971

View file

@ -83,6 +83,7 @@ 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": <line_number>, "reviewComment": "<review comment>"}]}
- Do not give positive comments or compliments.
- Provide review in Korean language.
- 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.