diff --git a/packages/code-review-gpt/src/review/prompt/constructPrompt/constructPrompt.ts b/packages/code-review-gpt/src/review/prompt/constructPrompt/constructPrompt.ts index 2cb1627..0e70f93 100644 --- a/packages/code-review-gpt/src/review/prompt/constructPrompt/constructPrompt.ts +++ b/packages/code-review-gpt/src/review/prompt/constructPrompt/constructPrompt.ts @@ -42,9 +42,5 @@ export const constructPromptsArray = ( return languageToInstructionPrompt + JSON.stringify(payload); }); - const answerLanguage = process.env.LANGUAGE - ? `, 그리고 앞의 질문에 한글로 답해줘,` - : ''; - - return [...prompts, answerLanguage]; + return prompts; }; diff --git a/packages/code-review-gpt/src/review/prompt/prompts.ts b/packages/code-review-gpt/src/review/prompt/prompts.ts index d7bc9f4..7847830 100644 --- a/packages/code-review-gpt/src/review/prompt/prompts.ts +++ b/packages/code-review-gpt/src/review/prompt/prompts.ts @@ -29,7 +29,7 @@ Format the response in a valid JSON format as a list of feedbacks, where the val } } -The filenames and file contents to review are provided below as a list of JSON objects: +The filenames and file contents to review are provided below as a list of JSON objects(Answer me in Korean): `; @@ -68,6 +68,6 @@ Format the response in a valid JSON format as a list of feedbacks, where the val } } -The code to review is provided below: +The code to review is provided below(Answer me in Korean): `;