-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
69 lines (48 loc) · 1.81 KB
/
Copy path.env.example
File metadata and controls
69 lines (48 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# =============================================================================
# LLM 配置 / LLM Configuration
# =============================================================================
# LLM 提供商: openai / anthropic / azure
LLM_PROVIDER=openai
# 模型名称
LLM_MODEL=gpt-4o
# API 密钥
LLM_API_KEY=your-api-key-here
# API 基础 URL(可选,用于代理或自定义端点)
LLM_BASE_URL=https://api.openai.com/v1
# 生成温度 (0.0-2.0)
LLM_TEMPERATURE=0.7
# 请求超时时间(秒)
LLM_REQUEST_TIMEOUT=120
# =============================================================================
# MCP 配置 / MCP Configuration
# =============================================================================
# 是否启用顺序思考 MCP
MCP_SEQUENTIAL_THINKING_ENABLED=true
# 是否启用 Context7 MCP
MCP_CONTEXT7_ENABLED=true
# MCP 调用超时时间(秒)
MCP_CALL_TIMEOUT=60
# =============================================================================
# 代理行为配置 / Agent Behavior Configuration
# =============================================================================
# 最大审查迭代次数
MAX_REVIEW_ITERATIONS=10
# 停滞阈值(连续相同结果次数)
STAGNATION_THRESHOLD=3
# 用户批准超时时间(秒)
USER_APPROVAL_TIMEOUT=300
# 单任务最大成本限制(美元)
LLM_MAX_COST_PER_TASK=10.0
# =============================================================================
# 系统配置 / System Configuration
# =============================================================================
# 工作空间目录
WORKSPACE_DIR=./workspace
# 日志级别: DEBUG / INFO / WARNING / ERROR / CRITICAL
LOG_LEVEL=INFO
# 日志文件路径
LOG_FILE=./logs/docreview.log
# 日志最大大小(字节)
LOG_MAX_BYTES=10485760
# 日志备份数量
LOG_BACKUP_COUNT=5