From ce30a7d5cd9c869e6cfca792df83d38432301a7e Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Fri, 22 Nov 2024 10:11:16 +0800 Subject: [PATCH] Update llm-code-review.yml --- .github/workflows/llm-code-review.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/llm-code-review.yml b/.github/workflows/llm-code-review.yml index 71e86b5e3..ce4710487 100644 --- a/.github/workflows/llm-code-review.yml +++ b/.github/workflows/llm-code-review.yml @@ -16,10 +16,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.FIT2CLOUDRD_LLM_CODE_REVIEW_TOKEN }} OPENAI_API_KEY: ${{ secrets.ALIYUN_LLM_API_KEY }} - LANGUAGE: Chinese + LANGUAGE: English OPENAI_API_ENDPOINT: https://dashscope.aliyuncs.com/compatible-mode/v1 MODEL: qwen2-1.5b-instruct - PROMPT: "请检查下面的代码差异是否有不规范、潜在的问题或者优化建议,用中文回答。" + PROMPT: "Please check the following code differences for any irregularities, potential issues, or optimization suggestions, and provide your answers in English." top_p: 1 temperature: 1 # max_tokens: 10000