-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
96 lines (81 loc) · 2.9 KB
/
.env.example
File metadata and controls
96 lines (81 loc) · 2.9 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
88
89
90
91
92
93
94
95
96
# ===================================================
# ??????????
# ===================================================
# ?????
# ???????? .env.local (?????? Git)
# ???????? .env.production (?????? Git)
# ===================================================
# Ollama 本地模型配置
# ===================================================
OLLAMA_API_URL=http://localhost:11434
# 推荐使用 qwen3:8b(支持 Function Calling,8GB 显存即可运行)
# 可选:qwen2.5:7b / llama3.1:8b / mistral:7b / deepseek-r1:7b(不支持工具)
OLLAMA_MODEL=qwen3:8b
# ===================================================
# MongoDB ??
# ===================================================
# ??????
MONGODB_URI=mongodb://localhost:27017/ai-agent
# ?????Docker ???
# MONGODB_URI=mongodb://mongodb-global:27017/ai-agent
# ===================================================
# Redis ??
# ===================================================
REDIS_HOST=localhost
REDIS_PORT=6379
# ?? ??????????????
REDIS_PASSWORD=your_secure_redis_password_here
# ===================================================
# Tavily API Key (??????)
# ===================================================
# ????: https://tavily.com/
# ???? API Key ????
TAVILY_API_KEY=your_tavily_api_key_here
# ===================================================
# ???????????
# ===================================================
# ????: https://console.volcengine.com/ark
# ???? API Key ? Endpoint ID ????
ARK_API_KEY=your_ark_api_key_here
ARK_API_URL=https://ark.cn-beijing.volces.com/api/v3/chat/completions
ARK_MODEL=your_ark_model_endpoint_id
# ===================================================
# ????????????????
# ===================================================
# ????????????????????10 ?
# MEMORY_WINDOW_SIZE=10
# ?? Token ??????4000?
# MEMORY_MAX_TOKENS=4000
# ?????????????true?
# MEMORY_ENABLE_KEYWORD_MATCH=true
# ===================================================
# SSE ??????????
# ===================================================
MAX_SSE_CONNECTIONS=3
# ===================================================
# IDP (Identity Provider) ??
# ===================================================
IDP_PORT=9000
IDP_ISSUER=http://localhost:9000
# ?? ??????????????
IDP_CLIENT_SECRET=dev_secret_change_me
# ===================================================
# OIDC ????
# ===================================================
# ?? ??????????????
OIDC_CLIENT_SECRET=dev_secret_change_me
# ?????? OIDC ??????????
# OIDC_ISSUER=https://your-oidc-provider.com
# OIDC_CLIENT_ID=your_client_id
# OIDC_REDIRECT_URI=http://localhost:8080/auth/callback
# ===================================================
# ????????
# ===================================================
# LOG_LEVEL=info
# LOG_FORMAT=json
# ===================================================
# ????????
# ===================================================
# MAX_CONCURRENT_REQUESTS=10
# REQUEST_TIMEOUT=30000
# CACHE_TTL=3600