-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy path.env.example
More file actions
74 lines (53 loc) · 1.65 KB
/
Copy path.env.example
File metadata and controls
74 lines (53 loc) · 1.65 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
# =========================
# Execra Configuration Example
# Copy this file to .env and update values
# =========================
# =========================
# LLM CONFIGURATION
# =========================
# Required: LLM backend
# Allowed values: openai, gemini, local, llama
LLM_BACKEND=openai
# Required if LLM_BACKEND=openai
OPENAI_API_KEY=your_openai_api_key_here
# Required if LLM_BACKEND=gemini
GEMINI_API_KEY=your_gemini_api_key_here
# =========================
# REDIS CONFIGURATION
# =========================
# Required: must start with redis://
REDIS_URL=redis://localhost:6379
# =========================
# OPTIONAL SETTINGS
# =========================
# Frames per second (must be between 1 and 30)
CAPTURE_FPS=10
# Logging format
# Allowed values: console, json
LOG_FORMAT=console
# Sandbox mode
# Allowed values: static_only, sandboxed
SANDBOX_MODE=static_only
# =========================
# ADDITIONAL APP SETTINGS
# =========================
# Screen Capture & Detection
SCREEN_CAPTURE_FPS=2
DETECTION_THRESHOLD=0.5
DELTA_THRESHOLD=0.05
# API Configuration
API_HOST=0.0.0.0
API_PORT=8000
LOG_LEVEL=INFO
CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000,http://localhost:5173,http://127.0.0.1:5173,http://localhost:8000,http://127.0.0.1:8000
# Comma-separated list of allowed origins
CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
# =========================
# TRUST SCORE CONFIGURATION
# =========================
# Optional weights (should sum ~1.0)
TRUST_SCORE_W1=0.5
TRUST_SCORE_W2=0.3
TRUST_SCORE_W3=0.2
# Encryption (64-char hex key — generate with: python -c "import secrets; print(secrets.token_hex(32))")
ENCRYPTION_KEY=