-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
83 lines (68 loc) · 1.71 KB
/
env.example
File metadata and controls
83 lines (68 loc) · 1.71 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
# API Keys (required for production)
OPENAI_API_KEY=your_openai_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
OPENROUTER_API_KEY=your_openrouter_api_key_here
COHERE_API_KEY=your_cohere_api_key_here
# Base URLs for local services
OLLAMA_BASE_URL=http://ollama:11434
VLLM_BASE_URL=http://vllm:8000
LMSTUDIO_BASE_URL=http://lmstudio:1234
# Service Configuration
LLMROUTER_PORT=9000
ROUTER_PORT=9006
LIGHT_WORKER_URL=http://localhost:9004
HEAVY_WORKER_URL=http://localhost:9002
WORKER_PORT=
CONFIG=router.yaml
# Authentication
REQUIRE_AUTH=false
API_KEY_FILE=./api-keys.json
JWT_SECRET=your_jwt_secret_here
DEFAULT_RATE_LIMIT=1000
# Secret Management
SECRET_ENCRYPTION_KEY=your_encryption_key_here
SECRETS_FILE=./secrets.json
# Logging
LOG_LEVEL=info
LOG_FORMAT=json
# Observability
JAEGER_ENDPOINT=http://jaeger:14268/api/traces
SERVICE_NAME=agent
SERVICE_VERSION=1.0.0
ENVIRONMENT=production
TRACE_SAMPLE_RATE=1.0
# Metrics
METRICS_MODE=prom
METRICS_PATH=/metrics
METRICS_NAMESPACE=agent
METRICS_COLLECT_RUNTIME=true
# Accounting
USE_SQLITE=false
DB_PATH=/data/costs.db
# Cache
CACHE_MAX_SIZE=1000
CACHE_DEFAULT_TTL=5m
# Rate Limiting
RATE_LIMIT_ENABLED=true
CIRCUIT_BREAKER_ENABLED=true
# Knowledge Base
KB_PATH=./kb
VECTOR_BACKEND=qdrant # memory, qdrant
QDRANT_URL=http://localhost:6333
QDRANT_API_KEY=
QDRANT_COLLECTION=artifacts
QDRANT_DIMENSION=1536
QDRANT_DISTANCE=cosine
# Embeddings
EMBEDDINGS_MODE=lmstudio # mock, openai, lmstudio
LMSTUDIO_BASE_URL=http://localhost:1234
EMBEDDINGS_MODEL=text-embedding-3-small
# WASM Configuration
WASM_PATH=./wasm
WASM_POOL_SIZE=10
WASM_TIMEOUT=30s
# Worker Configuration
HYPOTHESES_DIR=./hypotheses
COMPLEXITY_THRESHOLD=5
# Default Model
DEFAULT_MODEL=lmstudio:qwen/qwen3-4b-2507