-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.example
72 lines (58 loc) · 2.14 KB
/
.env.example
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
# Required: Choose your LLM provider and add API key
LLM_PROVIDER=openai # Options: openai, anthropic, azure, gemini, deepseek, deepseek_r1, ollama
OPENAI_API_KEY=your_key_here
OPENAI_MODEL=gpt-4o
# Optional: Configure system behavior
SYSTEM_PROMPT=default # Options: default, safety, collection, research, wiki
USE_VISION=true
MAX_STEPS=100
# Optional: Alternative LLM providers
ANTHROPIC_API_KEY=your_key_here # Required for Claude 3.5 Sonnet
ANTHROPIC_MODEL=claude-3-5-sonnet-20241022
# Azure OpenAI Settings
AZURE_OPENAI_ENDPOINT=your_endpoint_here
AZURE_OPENAI_KEY=your_key_here
AZURE_OPENAI_MODEL=gpt-4o
# Browser Configuration
BROWSER_HEADLESS=false # Set to true for headless mode
BROWSER_DISABLE_SECURITY=true
BROWSER_SLOW_MO=50 # Delay between actions in milliseconds
BROWSER_EXTRA_ARGS=[] # JSON array of additional Chrome arguments
# Browser Connection Options
CHROME_INSTANCE_PATH= # Path to local Chrome executable
BROWSER_WSS_URL= # WebSocket URL for cloud browser
BROWSER_CDP_URL= # Chrome DevTools Protocol URL
# Page Load Settings
MIN_PAGE_LOAD_TIME=0.5
NETWORK_IDLE_TIME=1.0
MAX_PAGE_LOAD_TIME=5.0
PAGE_LOAD_TIMEOUT=30000 # milliseconds
NAVIGATION_TIMEOUT=30000 # milliseconds
DOWNLOAD_TIMEOUT=30000 # milliseconds
# Display Settings
BROWSER_VIEWPORT_WIDTH=1280
BROWSER_VIEWPORT_HEIGHT=1100
BROWSER_LOCALE=en-US
HIGHLIGHT_ELEMENTS=true
VIEWPORT_EXPANSION=500
# Security Settings
IGNORE_HTTPS_ERRORS=true
JAVASCRIPT_ENABLED=true
BROWSER_USER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
# URL Restrictions
ALLOWED_DOMAINS=null # JSON array of allowed domains or null for all
# Logging Configuration
LOG_LEVEL=INFO # Options: DEBUG, INFO, WARNING, ERROR
SAVE_RECORDING_PATH=logs/recordings
TRACE_PATH=logs/traces
USE_PERSISTENT_CONTEXT=false
# Proxy Configuration
HTTP_PROXY=
PROXY_USERNAME=
PROXY_PASSWORD=
# Optional: Telemetry settings
ANONYMIZED_TELEMETRY=true
# Output Format
OUTPUT_FORMAT= # Options: posts, or leave empty for default text output
# Function Configuration
EXCLUDED_ACTIONS=[] # JSON array of action IDs to exclude, e.g. ["download", "extract_table"]