-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.production.example
More file actions
56 lines (43 loc) · 1.45 KB
/
.env.production.example
File metadata and controls
56 lines (43 loc) · 1.45 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
# ===========================================
# PRODUCTION ENVIRONMENT CONFIGURATION
# ===========================================
# Copy this file to .env.production and update the values
# for your production environment
# ===========================================
# MAIN APPLICATION SETTINGS
# ===========================================
PORT=3000
NODE_ENV=production
# ===========================================
# API KEYS
# ===========================================
OPENAI_API_KEY="your-production-openai-api-key"
# ===========================================
# REDIS SETTINGS
# ===========================================
# For production, use a proper Redis instance
REDIS_URL=redis://redis:6379
# ===========================================
# AGENT SETTINGS
# ===========================================
# Chat history storage duration (in seconds, 7 days = 604800)
CHAT_HISTORY_TTL=604800
# Default AI model
MODEL=gpt-4o-mini-2024-07-18
# Model temperature (0.0 - 2.0)
TEMPERATURE=0.7
# Agent maximum iterations
MAX_ITERATIONS=10
# Agent verbose mode (true/false) - set to false in production
AGENT_VERBOSE=false
# ===========================================
# TOOL SETTINGS
# ===========================================
# DuckDuckGo search results count
DUCKDUCKGO_MAX_RESULTS=5
# Wikipedia search results count
WIKIPEDIA_MAX_RESULTS=3
# Wikipedia text length limit
WIKIPEDIA_MAX_CONTENT_LENGTH=2000
# HTTP request timeout (in milliseconds)
FETCH_TIMEOUT=10000