-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env
More file actions
49 lines (43 loc) · 1.23 KB
/
.env
File metadata and controls
49 lines (43 loc) · 1.23 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
# ====================
# Flask 应用配置
# ====================
FLASK_ENV=development
FLASK_DEBUG=True
FLASK_HOST=0.0.0.0
FLASK_PORT=5002
# ====================
# 数据库配置
# ====================
DATABASE_PATH = '/Users/wenboli/Desktop/reddit/Knowledgebot-backend/Database'
# ====================
# API 密钥和认证
# ====================
SECRET_KEY=your-secret-key-here
API_KEY=your-api-key-here
JWT_SECRET_KEY=your-jwt-secret-key-here
OPENAI_API_KEY='sk-31BHGEDm6KDd1dZAAAPN84UPj6tFwbt7UJBDurbSBwGAB11T'
OPENAI_MODEL='gpt-4o-mini'
# ====================
# 应用特定配置
# ====================
# 计时器默认超时时间(秒)
DEFAULT_TIMEOUT_SECONDS=5
CURRENT_STYLE = 0 # 0: Telling, 1: Selling 2: Participating 3: Delegating
CURRENT_TOPIC = 0 # 当前讨论话题
# Current_style = [0, 1, 2, 3] # 0: Telling, 1: Selling 2: Participating 3: Delegating
# Current_topic = [0, 1, 2, 3] # 当前讨论话题
# 讨论阶段配置
MAX_PATIENCE=10
INTERVENTION_THRESHOLD=5
USERNAME = 'bot111'
PASSWORD = 'bot111'
FRONTEND_URL = 'http://localhost:5001'
# ====================
# 日志配置
# ====================
LOG_LEVEL=DEBUG
LOG_FILE=app.log
# ====================
# 环境标识
# ====================
ENVIRONMENT=development