-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env.example
More file actions
65 lines (48 loc) · 1.78 KB
/
Copy path.env.example
File metadata and controls
65 lines (48 loc) · 1.78 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
# FinchBot 环境变量配置示例
# 请将此文件复制为 .env 并填入您的 API Key
# --- LLM 提供商配置 (至少配置一个) ---
# OpenAI
# OPENAI_API_KEY=sk-proj-...
# OPENAI_API_BASE=https://api.openai.com/v1
# Anthropic (Claude)
# ANTHROPIC_API_KEY=sk-ant-...
# ANTHROPIC_API_BASE=https://api.anthropic.com
# Google Gemini
# GOOGLE_API_KEY=AIza...
# GOOGLE_API_BASE=https://generativelanguage.googleapis.com
# DeepSeek
# DEEPSEEK_API_KEY=sk-...
# DEEPSEEK_API_BASE=https://api.deepseek.com
# Moonshot (Kimi)
# MOONSHOT_API_KEY=sk-...
# MOONSHOT_API_BASE=https://api.moonshot.cn/v1
# DashScope (Qwen/通义千问)
# DASHSCOPE_API_KEY=sk-...
# DASHSCOPE_API_BASE=https://dashscope.aliyuncs.com/compatible-mode/v1
# Tencent HunYuan (腾讯混元)
# HUNYUAN_API_KEY=...
# HUNYUAN_API_BASE=https://api.hunyuan.cloud.tencent.com/v1
# Azure OpenAI
# AZURE_OPENAI_API_KEY=...
# AZURE_OPENAI_API_BASE=https://your-resource-name.openai.azure.com
# AZURE_OPENAI_API_VERSION=2024-02-15-preview
# AZURE_OPENAI_DEPLOYMENT_NAME=gpt-4
# Ollama (本地模型)
# OLLAMA_API_BASE=http://localhost:11434
# --- 搜索工具配置 (可选,启用联网搜索能力) ---
# Tavily Search (推荐)
# 获取 Key: https://tavily.com/
# TAVILY_API_KEY=tvly-...
# Brave Search
# BRAVE_API_KEY=...
# --- Agent 结算上报配置 (可选,issue #2) ---
# 将 agent 完成工作的 JSON Proof of Work 上报到外部结算层 (如 Wheat Community Nexus)。
# 留空 = 不启用。可选配置 api_key 后启用 HMAC-SHA256 签名防篡改。
# FINCHBOT_SETTLEMENT_WEBHOOK_URL=https://nexus.wheat.community/api/v1/pow
# FINCHBOT_SETTLEMENT_API_KEY=...
# FINCHBOT_SETTLEMENT_ENABLED=true
# --- 其他配置 ---
# 系统语言 (zh-CN / en-US)
# FINCHBOT_LANGUAGE=zh-CN
# 默认模型名称
# FINCHBOT_DEFAULT_MODEL=gpt-4o