From c636b75bbc17361e4098e8691c1d1dac93473a6a Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Tue, 5 Nov 2024 14:59:12 +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 52ecd8a0fa..71e86b5e38 100644 --- a/.github/workflows/llm-code-review.yml +++ b/.github/workflows/llm-code-review.yml @@ -14,12 +14,12 @@ jobs: steps: - uses: fit2cloud/LLM-CodeReview-Action@main env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.FIT2CLOUDRD_LLM_CODE_REVIEW_TOKEN }} OPENAI_API_KEY: ${{ secrets.ALIYUN_LLM_API_KEY }} LANGUAGE: Chinese OPENAI_API_ENDPOINT: https://dashscope.aliyuncs.com/compatible-mode/v1 MODEL: qwen2-1.5b-instruct - PROMPT: "请检查下面的代码差异是否有不规范、潜在的问题或者优化建议" + PROMPT: "请检查下面的代码差异是否有不规范、潜在的问题或者优化建议,用中文回答。" top_p: 1 temperature: 1 # max_tokens: 10000