From 902f5dd2d5c9e7a568a7f80196380eb6ad932912 Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Tue, 17 Dec 2024 16:37:57 +0800 Subject: [PATCH] build: update code review configuration. --- .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 f8d8a77bf..df8b6b2de 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.5-coder-3b-instruct - PROMPT: "请检查下面的代码差异是否有不规范、潜在的问题或者优化建议,用中文回答。" + PROMPT: "Please check the following code for any irregularities, potential issues, or optimization suggestions, and provide your answers in English." top_p: 1 temperature: 1 # max_tokens: 10000