-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (42 loc) · 1.34 KB
/
.env.example
File metadata and controls
50 lines (42 loc) · 1.34 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
# LLM Configuration
# Choose LLM provider: anthropic or azure
LLM_PROVIDER=azure
# Anthropic Configuration (when LLM_PROVIDER=anthropic)
ANTHROPIC_API_KEY=your_anthropic_api_key_here
MODEL_NAME=claude-sonnet-4-5-20250929
MAX_TOKENS=8192
TEMPERATURE=0.7
# Azure OpenAI Configuration (when LLM_PROVIDER=azure)
AZURE_OPENAI_API_KEY=your_azure_openai_api_key_here
AZURE_OPENAI_ENDPOINT=https://your-resource-name.openai.azure.com/
AZURE_OPENAI_DEPLOYMENT=your_deployment_name
AZURE_API_VERSION=2024-02-15-preview
# Sandbox Configuration
SANDBOX_IMAGE=sandbox-agent:latest
SANDBOX_TIMEOUT=3600
SANDBOX_CPU_LIMIT=2
SANDBOX_MEMORY_LIMIT=4g
SANDBOX_DISK_LIMIT=10g
SANDBOX_NETWORK_MODE=bridge
# Network Configuration
ALLOWED_DOMAINS=github.com,api.github.com,npmjs.com,registry.npmjs.org,pypi.org,files.pythonhosted.org,archive.ubuntu.com,security.ubuntu.com,api.anthropic.com,openai.azure.com
NETWORK_PROXY_ENABLED=true
NETWORK_PROXY_PORT=8888
NETWORK_PROXY_HOST=0.0.0.0
# Security Configuration
ENABLE_SECRET_DETECTION=true
ENABLE_COMMAND_VALIDATION=true
READ_ONLY_PATHS=/mnt/user-data,/mnt/skills,/mnt/transcripts
MAX_FILE_SIZE_MB=100
MAX_OUTPUT_SIZE_MB=10
# Session Management
SESSION_CLEANUP_ENABLED=true
SESSION_MAX_IDLE_TIME=1800
MAX_CONCURRENT_SESSIONS=10
# Logging
LOG_LEVEL=INFO
LOG_FORMAT=json
LOG_FILE=logs/agent.log
# Development
DEBUG=false
ENABLE_PROFILING=false