-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (30 loc) · 1.94 KB
/
Copy path.env.example
File metadata and controls
35 lines (30 loc) · 1.94 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
# JackClaw 环境变量配置
# ===========================
# 所有密钥统一在此文件配置,config.py 启动时自动加载
# .env 不入 Git(已在 .gitignore)
#
# 安全提示:
# 1. 不要将 .env 文件提交到版本控制系统
# 2. 生产环境建议使用系统环境变量或密钥管理服务
# 3. 定期轮换 API 密钥
# 4. 运行检查工具:python scripts/check_env.py
# ── 飞书应用凭证 ────────────────────────────────────────────────────
# 获取地址:https://open.feishu.cn/ → 应用 → 凭证与基础信息
FEISHU_APP_ID=cli_xxxxxxxxxxxxxxxxxx
FEISHU_APP_SECRET=<在飞书开放平台重置后填入新值>
# ── 阿里云百炼 API Key ──────────────────────────────────────────────
# 获取地址:https://bailian.console.aliyun.com/
# 用于 LLM 服务(通义千问)
QWEN_API_KEY=<填入你的 API Key>
# ── 百度千帆 API Key ────────────────────────────────────────────────
# 获取地址:https://console.bce.baidu.com/
# 用于 baidu_search 技能(可选)
BAIDU_API_KEY=<填入你的 API Key>
# ── pgvector 连接串 ─────────────────────────────────────────────────
# 本地没有 pgvector 则留空(将使用内存存储)
# 格式:postgresql://user:pass@localhost:5432/jackclaw_memory
MEMORY_DB_DSN=
# ── OpenRouter API Key(可选)───────────────────────────────────────
# 如果想使用 OpenAI、Claude、Gemini 等其他模型,配置此项
# 获取地址:https://openrouter.ai/keys
# OPENROUTER_API_KEY=sk-or-...