-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.env.example
More file actions
30 lines (23 loc) · 1.39 KB
/
.env.example
File metadata and controls
30 lines (23 loc) · 1.39 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
# 环境变量配置
# 支持变量替换: ${VAR} 或 $VAR 语法
# Claude API配置 (使用 Claude 时必需)
ANTHROPIC_BASE_URL=https://api.anthropic.com # 可选,默认: https://api.anthropic.com
ANTHROPIC_AUTH_TOKEN=sk-your-anthropic-token # 必需 (使用 Claude 时)
# OpenAI/Codex API配置 (使用 Codex 时必需)
OPENAI_BASE_URL=https://api.openai.com/v1 # 可选,默认: https://api.openai.com/v1
OPENAI_API_KEY=sk-proj-your-openai-key # 必需 (使用 Codex 时)
# AI 提供者配置 (可选,都有默认值)
AI_DEFAULT_PROVIDER=claude # 可选,默认: claude
CLAUDE_DEFAULT_MODEL=claude-sonnet-4-20250514 # 可选,默认: claude-sonnet-4-20250514
CODEX_DEFAULT_MODEL=gpt-5.1-codex-max # 可选,默认: gpt-5.1-codex-max
CODEX_REASONING_EFFORT=high # 可选,默认: high
# GitLab配置
GITLAB_BASE_URL=https://gitlab.com # 可选,默认: https://gitlab.com
GITLAB_TOKEN=glpat-your-gitlab-token # 必需
# Webhook配置
WEBHOOK_SECRET=your-webhook-secret # 必需
PORT=3000 # 可选,默认: 3000
# 工作目录配置
WORK_DIR=/tmp/gitlab-claude-work # 可选,默认: /tmp/gitlab-claude-work
# 日志配置
LOG_LEVEL=info # 可选,默认: info