-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
87 lines (70 loc) · 2.42 KB
/
.env.example
File metadata and controls
87 lines (70 loc) · 2.42 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# ========================================
# AInTandem Agent MCP Scheduler - 環境變數配置
# ========================================
# 複製此文件為 .env 並填入您的實際配置值
# 注意:請勿將 .env 文件提交到版本控制系統
# ========================================
# LLM API 配置
# ========================================
# ModelScope API (魔搭社區)
MODELSCOPE_API_TOKEN=your_modelscope_api_token_here
# DashScope API (阿里雲通義千問)
DASHSCOPE_API_KEY=your_dashscope_api_key_here
# DeepSeek API
DEEPSEEK_API_KEY=your_deepseek_api_key_here
# OpenAI API
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_BASE_URL=https://api.openai.com/v1
# Z AI API (智譜 Z.ai)
ZAI_API_KEY=your_zai_api_key_here
# ========================================
# MCP 服務器配置
# ========================================
# Filesystem MCP - Agent 根目錄路徑(檔案系統存取)
AGENT_ROOT_PATH=/path/to/your/agent/root
# Brave 搜尋 API
BRAVE_API_KEY=your_brave_api_key_here
# GitHub 存取令牌
GITHUB_TOKEN=your_github_token_here
# Google Maps API
GOOGLE_MAPS_API_KEY=your_google_maps_api_key_here
# ========================================
# 資料庫與快取配置 (企業版)
# ========================================
# PostgreSQL 資料庫
DB_HOST=localhost
DB_USER=postgres
DB_PASSWORD=your_postgres_password
# 或使用完整連接字串
# DATABASE_URL=postgresql://postgres:password@localhost:5432/qwen_agent
# Redis 快取
REDIS_HOST=localhost
REDIS_PASSWORD=your_redis_password
# ========================================
# 向量資料庫配置 (可選)
# ========================================
# Qdrant 向量資料庫
QDRANT_API_KEY=your_qdrant_api_key_here
# Pinecone 向量資料庫
PINECONE_API_KEY=your_pinecone_api_key_here
# ========================================
# 應用程式配置
# ========================================
# 應用程式監聽地址與端口
APP_HOST=0.0.0.0
APP_PORT=8000
GUI_PORT=7860
# 日誌等級 (DEBUG, INFO, WARNING, ERROR, CRITICAL)
LOG_LEVEL=INFO
# ========================================
# Docker 建構變數 (自動設定,無需手動配置)
# ========================================
# COMMIT_HASH=auto-detected
# IMAGE_NAME=agent-infra
# IMAGE_TAG=latest
# CONTAINER_NAME=agent-infra
# ========================================
# 測試變數 (僅用於測試環境)
# ========================================
# TEST_VAR=test_value
# TEST_NESTED=nested_value