-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
62 lines (50 loc) · 1.64 KB
/
.env.example
File metadata and controls
62 lines (50 loc) · 1.64 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
# 复制为 .env 后填写真实值。不要提交 .env 到 Git。
# ===== 推送机器人 =====
FEISHU_KEY=
WECOM_KEY=
DINGTALK_KEY=
DINGTALK_ACCESS_TOKEN=
DINGTALK_SECRET=
TELEGRAM_KEY=
TELEGRAM_CHAT_IDS=
MAIL_KEY=
MAIL_RECEIVER=
MAIL_ADDRESS=
MAIL_FROM=
MAIL_SERVER=
# ===== AI 总结 - 企业微信 / 钉钉推送 =====
WECOM_CORPID=
WECOM_CORPSECRET=
WECOM_AGENTID=
# ===== AI 服务(oneapi.py / ai_config.py)=====
# 当前使用的环境名:office / test / txc / txcv3 / hwc / default
AI_ENV=default
# 未设置 AI_ENV 时,按本机 IP 前缀自动选择(格式:前缀:环境名)
AI_IP_ROUTING=10.224.:office,10.55.:test,10.48.:txc,10.72.:hwc
# 自动选择失败时的默认环境
AI_ENV_DEFAULT=default
# 通用配置(优先级最高,适合只配一套 AI 服务)
AI_PROVIDER=openai
AI_API_URL=https://api.example.com/v1/chat/completions
AI_API_KEY=
AI_MODEL=your-model-name
# 腾讯云风格 API 时使用 AI_PROVIDER=tencent,并配置:
# AI_TC_REGION=ap-guangzhou
# AI_TC_ACTION=ChatCompletion
# AI_TC_VERSION=2025-02-24
# 多环境配置(AI_ENV 或 IP 路由选中对应环境时使用)
AI_OFFICE_URL=http://your-office-host:3008/v1/chat/completions
AI_OFFICE_API_KEY=
AI_OFFICE_MODEL=your-model-name
AI_TEST_URL=http://your-test-host:3008/v1/chat/completions
AI_TEST_API_KEY=
AI_TEST_MODEL=your-model-name
AI_TXC_URL=http://your-txc-host:3008/v1/chat/completions
AI_TXC_API_KEY=
AI_TXC_MODEL=your-model-name
AI_TXCV3_URL=https://api.example.com/deepseek/internal/chat/completions
AI_TXCV3_API_KEY=
AI_TXCV3_MODEL=deepseek-v3
AI_HWC_URL=http://your-hwc-host:3008/v1/chat/completions
AI_HWC_API_KEY=
AI_HWC_MODEL=your-model-name