forked from calderbuild/VibeDoc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
79 lines (60 loc) · 2.37 KB
/
.env.example
File metadata and controls
79 lines (60 loc) · 2.37 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
# VibeDoc Agent Application Environment Variables
# Agent应用环境变量配置文件
# =========================
# 🔑 REQUIRED CONFIGURATIONS (必填配置)
# =========================
# Silicon Flow API Key for AI model access (必填)
# 获取地址: https://siliconflow.cn
# 用途: AI开发计划生成的核心服务
SILICONFLOW_API_KEY=your_siliconflow_api_key_here
# Application port (应用端口)
PORT=7860
# Runtime environment (运行环境)
ENVIRONMENT=production
# =========================
# 🔌 OPTIONAL MCP SERVICE CONFIGURATIONS (可选MCP服务配置)
# =========================
# 💡 说明:作为Agent应用,VibeDoc可以调用多个MCP服务来增强功能
# 这些配置都是可选的,未配置时系统会优雅降级
# DeepWiki MCP Service (DeepWiki内容解析服务)
# 用于解析 deepwiki.org 链接,提供深度技术文档
# DEEPWIKI_MCP_URL=https://your-mcp-service-url/deepwiki
# Fetch MCP Service (通用网页抓取服务)
# 用于解析普通网页链接 (GitHub、博客、文档等)
# FETCH_MCP_URL=https://your-mcp-service-url/fetch
# =========================
# ⚙️ APPLICATION SETTINGS (应用配置)
# =========================
# Logging level (日志级别)
LOG_LEVEL=INFO
# API request timeout in seconds (API超时时间)
API_TIMEOUT=300
# MCP service timeout in seconds (MCP服务超时时间)
MCP_TIMEOUT=120
# Debug mode (调试模式)
DEBUG=false
# Debug mode (调试模式)
DEBUG=false
# =========================
# 📋 AGENT APPLICATION NOTES (Agent应用说明)
# =========================
# 🤖 Agent vs MCP区别:
# • Agent应用:调用多个MCP服务,提供完整业务解决方案
# • MCP服务:被Agent调用,提供特定功能组件
# • VibeDoc是Agent应用,展示智能路由和服务协作能力
# 🚀 快速部署到魔塔:
# 1. 在创空间设置中添加环境变量
# 2. 必填:SILICONFLOW_API_KEY, PORT, NODE_ENV
# 3. 可选:MCP服务配置(增强功能)
# 4. SDK选择:Gradio
# 5. 启动文件:app.py
# 🔧 功能特色:
# • 智能MCP服务路由
# • 多源知识融合
# • 容错降级机制
# • 完整开发计划生成
# • AI编程提示词输出
# ⚠️ 安全提醒:
# • 不要将真实API密钥提交到Git
# • 生产环境使用环境变量配置
# • 定期更换API密钥