mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-23 18:49:21 +08:00
Update llm-code-review.yml
This commit is contained in:
parent
28597721f2
commit
ce30a7d5cd
4
.github/workflows/llm-code-review.yml
vendored
4
.github/workflows/llm-code-review.yml
vendored
@ -16,10 +16,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.FIT2CLOUDRD_LLM_CODE_REVIEW_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.FIT2CLOUDRD_LLM_CODE_REVIEW_TOKEN }}
|
||||||
OPENAI_API_KEY: ${{ secrets.ALIYUN_LLM_API_KEY }}
|
OPENAI_API_KEY: ${{ secrets.ALIYUN_LLM_API_KEY }}
|
||||||
LANGUAGE: Chinese
|
LANGUAGE: English
|
||||||
OPENAI_API_ENDPOINT: https://dashscope.aliyuncs.com/compatible-mode/v1
|
OPENAI_API_ENDPOINT: https://dashscope.aliyuncs.com/compatible-mode/v1
|
||||||
MODEL: qwen2-1.5b-instruct
|
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
|
top_p: 1
|
||||||
temperature: 1
|
temperature: 1
|
||||||
# max_tokens: 10000
|
# max_tokens: 10000
|
||||||
|
Loading…
Reference in New Issue
Block a user