-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
116 lines (98 loc) · 2.79 KB
/
Copy path.env.example
File metadata and controls
116 lines (98 loc) · 2.79 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# Minion Agent Framework - Environment Configuration Template
# Copy this file to .env and update with your actual values
# Application
APP_NAME=minion
APP_ENV=development # development, staging, production
APP_PORT=8080
APP_LOG_LEVEL=info # debug, info, warn, error
# Database
DB_HOST=localhost
DB_PORT=5432
DB_NAME=minion
DB_USER=minion
DB_PASSWORD=minion_secret
DB_SSLMODE=disable # disable, require, verify-ca, verify-full
DB_MAX_CONNECTIONS=25
DB_MAX_IDLE_CONNECTIONS=5
DB_CONNECTION_MAX_LIFETIME=300s
# LLM Providers
OPENAI_API_KEY=sk-your-openai-api-key-here
OPENAI_ORG_ID=org-your-org-id
ANTHROPIC_API_KEY=sk-ant-your-anthropic-key-here
GEMINI_API_KEY=your-gemini-api-key-here
# Default LLM Configuration
DEFAULT_LLM_PROVIDER=openai # openai, anthropic, gemini
DEFAULT_LLM_MODEL=gpt-4-turbo-preview
DEFAULT_LLM_TEMPERATURE=0.7
DEFAULT_LLM_MAX_TOKENS=2000
# Observability - Tracing
OTEL_ENABLED=true
OTEL_SERVICE_NAME=minion-agent
OTEL_EXPORTER=jaeger # jaeger, otlp, stdout
JAEGER_ENDPOINT=http://localhost:14268/api/traces
OTLP_ENDPOINT=localhost:4317
OTEL_SAMPLING_RATIO=1.0 # 0.0 to 1.0
# Observability - Metrics
METRICS_ENABLED=true
METRICS_PORT=9090
PROMETHEUS_ENABLED=true
METRICS_PATH=/metrics
# Observability - Logging
LOG_FORMAT=json # json, console
LOG_OUTPUT=stdout # stdout, file, both
LOG_FILE_PATH=logs/minion.log
LOG_MAX_SIZE_MB=100
LOG_MAX_BACKUPS=3
LOG_MAX_AGE_DAYS=28
# Cost Tracking
COST_TRACKING_ENABLED=true
COST_MODEL_PRICING_FILE=config/model_pricing.json
COST_BUDGET_ALERT_THRESHOLD=100.00 # USD per day
COST_CURRENCY=USD
# Operational Controls
CIRCUIT_BREAKER_ENABLED=true
CIRCUIT_BREAKER_THRESHOLD=5 # failures before opening
CIRCUIT_BREAKER_TIMEOUT=60s # time before half-open
RATE_LIMIT_ENABLED=true
RATE_LIMIT_REQUESTS_PER_SECOND=10
RATE_LIMIT_BURST=20
RETRY_ENABLED=true
RETRY_MAX_ATTEMPTS=3
RETRY_INITIAL_INTERVAL=1s
RETRY_MAX_INTERVAL=30s
RETRY_MULTIPLIER=2.0
# Session & Memory
SESSION_TIMEOUT=30m
SESSION_MAX_HISTORY=100 # messages
MEMORY_EXTRACTION_ENABLED=true
MEMORY_VECTOR_DIMENSIONS=1536
MEMORY_SIMILARITY_THRESHOLD=0.7
# Evaluation
EVALUATION_ENABLED=true
EVALUATION_LLM_MODEL=gpt-4-turbo-preview
EVALUATION_GOLDEN_SET_PATH=testdata/golden_set.json
EVALUATION_PARALLEL_WORKERS=4
# Security
SECURITY_HITL_ENABLED=true
SECURITY_PII_DETECTION_ENABLED=true
SECURITY_INPUT_VALIDATION_ENABLED=true
SECURITY_MAX_INPUT_LENGTH=10000
# Feature Flags
FEATURE_MCP_ENABLED=false
FEATURE_A2A_ENABLED=false
FEATURE_STREAMING_ENABLED=false
FEATURE_MULTI_AGENT_ENABLED=false
# Registry
REGISTRY_ENABLED=false
REGISTRY_TYPE=local # local, postgres, redis
REGISTRY_GOVERNANCE_ENABLED=false
# API
API_TIMEOUT=120s
API_MAX_REQUEST_SIZE=10MB
API_CORS_ENABLED=true
API_CORS_ORIGINS=*
# Health Checks
HEALTH_CHECK_ENABLED=true
HEALTH_CHECK_INTERVAL=30s
READINESS_CHECK_DB=true
READINESS_CHECK_LLM=true