Skip to content

Commit 68032d7

Browse files
author
sunminghui
committed
update default config
1 parent 2c94827 commit 68032d7

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

conf/.env.dist

+13-12
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,38 @@ SERVER_PORT=5001
44
#Timezone
55
TZ=Asia/Shanghai
66

7-
#大模型供应商配置,支持 zhipuai , openai , deepseek or ollama
8-
LLM_PROVIDER=qwen
7+
#大模型供应商配置,支持 deepseek, openai,zhipuai,qwen 和 ollama
8+
LLM_PROVIDER=deepseek
99

10-
#ZhipuAI settings
11-
ZHIPUAI_API_KEY=xxxx
12-
ZHIPUAI_API_MODEL=GLM-4-Flash
10+
#DeepSeek settings
11+
DEEPSEEK_API_KEY=
12+
DEEPSEEK_API_BASE_URL=https://api.deepseek.com
13+
DEEPSEEK_API_MODEL=deepseek-chat
1314

1415
#OpenAI settings
1516
OPENAI_API_KEY=xxxx
1617
OPENAI_API_BASE_URL=https://api.openai.com
1718
OPENAI_API_MODEL=gpt-4o-mini
1819

20+
#ZhipuAI settings
21+
ZHIPUAI_API_KEY=xxxx
22+
ZHIPUAI_API_MODEL=GLM-4-Flash
23+
1924
#Qwen settings
2025
QWEN_API_KEY=sk-xxx
2126
QWEN_API_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
2227
QWEN_API_MODEL=qwen-coder-plus
2328

24-
#DeepSeek settings
25-
DEEPSEEK_API_KEY=
26-
DEEPSEEK_API_BASE_URL=https://api.deepseek.com
27-
DEEPSEEK_API_MODEL=deepseek-chat
28-
2929
#OllaMA settings; 注意: 如果使用 Docker 部署,127.0.0.1 指向的是容器内部的地址。请将其替换为实际的 Ollama服务器IP地址。
3030
#OLLAMA_API_BASE_URL=http://127.0.0.1:11434
3131
OLLAMA_API_BASE_URL=http://host.docker.internal:11434
3232
OLLAMA_API_MODEL=deepseek-r1:latest
3333

3434
#支持review的文件类型
35-
SUPPORTED_EXTENSIONS=.java,.py,.php,.yml,.vue,.go,.c,.cpp,.h,.js,.css,.md,.sql
35+
SUPPORTED_EXTENSIONS=.c,.cc,.cpp,.css,.go,.h,.java,.js,.md,.php,.py,.sql,.vue,.yml
36+
#每次 Review 的最大 Token 限制(超出部分自动截断)
3637
REVIEW_MAX_TOKENS=10000
37-
#Review风格,支持professional|sarcastic|gentle|humorous
38+
#Review 风格选项:professional(专业) | sarcastic(毒舌) | gentle(温和) | humorous(幽默)
3839
REVIEW_STYLE=professional
3940

4041
#钉钉配置

0 commit comments

Comments
 (0)