-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
78 lines (66 loc) · 2.41 KB
/
Copy path.env.example
File metadata and controls
78 lines (66 loc) · 2.41 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
# Copy/paste into your shell as needed (PowerShell uses $env:VAR="...").
# Runtime API
DIZZY_BIND_HOST=127.0.0.1
DIZZY_DEPLOYMENT_MODE=direct_local
DIZZY_VERIFIED_HTTPS=0
DIZZY_PUBLIC_SURFACES=closed
PORT=3000
DIZZY_AUTH_TOKEN=
DIZZY_DASHBOARD_ENABLED=0
# Temporary HttpOnly local dashboard session lifetime (default: 1 hour).
DIZZY_DASHBOARD_SESSION_TTL_MS=3600000
# Required for browser origins outside loopback. This guard does not itself enable CORS.
DIZZY_ALLOWED_ORIGINS=
# HTTP transport hygiene for machine-facing endpoints.
# These are not meant to control the assistant's voice or response style.
DIZZY_HTTP_MESSAGE_MAX_CHARS=20000
DIZZY_HTTP_JOB_ERROR_MAX_CHARS=1000
# Redis (required for tool jobs + worker)
REDIS_URL=redis://127.0.0.1:6379
DIZZY_QUEUE_PREFIX=dizzy
DIZZY_MAX_RETRIES=3
# Tool-network safety
DIZZY_TOOL_ALLOW_LOCALHOST=0
DIZZY_TOOL_ALLOW_PRIVATE_NET=0
DIZZY_TOOL_DNS_TIMEOUT_MS=2000
DIZZY_TOOL_MAX_REDIRECTS=3
# Remote chat boundaries
DIZZY_ALLOW_REMOTE_MUTATIONS=0
TELEGRAM_SEND_STARTUP_MESSAGE=0
# Telegram relay (primary interface)
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
DIZZY_BASE_URL=http://127.0.0.1:3000
TELEGRAM_POLL_JOB_RESULTS=0
TELEGRAM_JOB_TIMEOUT_MS=60000
TELEGRAM_POLL_TIMEOUT_SEC=30
TELEGRAM_POLL_IDLE_MS=500
# Telegram notify drain (ops)
DIZZY_NOTIFY_CHANNEL=telegram
DIZZY_NOTIFY_LIMIT=50
DIZZY_DRAIN_INTERVAL_MS=5000
DIZZY_DRAIN_ONCE=0
# Rate limits, if you add them later, should protect availability and queue health.
# Avoid using them to globally suppress or shorten assistant replies.
DIZZY_RATE_LIMIT_ENABLED=0
DIZZY_RATE_LIMIT_WINDOW_MS=60000
DIZZY_RATE_LIMIT_MAX=120
# Production observability placeholders.
# Keep DSNs/tokens out of git; set real values only in the deploy environment.
DIZZY_ERROR_TRACKING_ENABLED=0
DIZZY_ERROR_TRACKING_DSN=
# Front-end production gate, if a browser UI is added later.
# Public browser bundles must not contain private env vars or service-role keys.
DIZZY_FRONTEND_SOURCE_MAPS=disabled
# Fulfillment staging
# Manual delivery now requires:
# runtime/orders/<order_id>/candidate.png
# runtime/orders/<order_id>/candidate.json
# Model routing (minimal roles over existing transports)
# DIZZY_CHAT_BACKEND=gemini|openai_compat
# DIZZY_UTILITY_BACKEND=gemini|openai_compat
# DIZZY_UTILITY_GEMINI_MODEL=
# DIZZY_UTILITY_OPENAI_COMPAT_MODEL=
# DIZZY_UTILITY_OPENAI_COMPAT_MAX_TOKENS=500
# DIZZY_FALLBACK_MAX_CALLS_PER_HOUR=10
# DIZZY_FALLBACK_MAX_CALLS_PER_CONVERSATION_HOUR=3