-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
47 lines (39 loc) · 2.73 KB
/
.env.example
File metadata and controls
47 lines (39 loc) · 2.73 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
# FusionAL Environment Configuration
# Copy to .env and fill in your values - never commit .env
# ── Anthropic / OpenAI ──────────────────────────────────────────────────────
ANTHROPIC_API_KEY=your_anthropic_api_key_here
OPENAI_API_KEY=your_openai_api_key_here
# ── Model Selection ──────────────────────────────────────────────────────────
# Override to swap models without code changes (clients can set their own)
ANTHROPIC_MODEL=claude-3-5-sonnet-20241022
OPENAI_MODEL=gpt-4-turbo
# Examples:
# ANTHROPIC_MODEL=claude-opus-4-6 # premium quality
# ANTHROPIC_MODEL=claude-haiku-4-5 # fast/cheap routing
# OPENAI_MODEL=gpt-4.1 # fast/cheap
# OPENAI_MODEL=gpt-5.1 # highest quality
# ── Security (from mcp-consulting-kit common/security.py) ───────────────────
# API key required on /execute and /register endpoints
API_KEY=your_fusional_api_key_here
# Optional: multiple active keys for zero-downtime rotation
# API_KEYS=new_key,old_key
# Optional: revoked keys denylist
# REVOKED_API_KEYS=compromised_key
# ── CORS ────────────────────────────────────────────────────────────────────
ALLOWED_ORIGINS=http://localhost,http://127.0.0.1
# ── Rate Limiting ───────────────────────────────────────────────────────────
RATE_LIMIT_REQUESTS=60
RATE_LIMIT_WINDOW_SECONDS=60
# Optional: Redis for shared rate limiting across instances
# REDIS_URL=redis://localhost:6379/0
# ── Logging ─────────────────────────────────────────────────────────────────
LOG_LEVEL=INFO
LOG_HEALTH_REQUESTS=false
SERVICE_NAME=FusionAL Execution Engine
# ── Server ──────────────────────────────────────────────────────────────────
MCP_SERVER_URL=http://localhost:8009
# ── Notion Poller (notion_poller.py) ─────────────────────────────────────────
NOTION_TOKEN=ntn_xxxxxxxxxxxxxxxxxxxxx
FUSIONAL_URL=http://localhost:8009
POLL_INTERVAL=30
HEALTH_CHECK_FAILURES_THRESHOLD=3