37 lines
1.4 KiB
Bash
37 lines
1.4 KiB
Bash
# Commander AI Lab - Environment Variables
|
|
# Copy this file to .env and fill in your API keys.
|
|
# .env is gitignored and will NOT be committed.
|
|
|
|
# Ximilar API Key (card scanner / visual AI recognition)
|
|
# Get yours at: https://app.ximilar.com/
|
|
XIMILAR_API_KEY=your-ximilar-api-key-here
|
|
|
|
# Anthropic API Key (AI deck generation & coaching with Claude Opus)
|
|
# Get yours at: https://console.anthropic.com/settings/keys
|
|
ANTHROPIC_API_KEY=your-anthropic-api-key-here
|
|
# Anthropic model for deck generation and coaching (Claude Opus recommended)
|
|
ANTHROPIC_MODEL=claude-opus-4-0-20250514
|
|
# Coach chat provider: "local" (Ollama) or "anthropic" (Claude API)
|
|
COACH_PROVIDER=anthropic
|
|
|
|
# CORS allowed origins (comma-separated)
|
|
# Default: http://localhost:5173,http://localhost:8080
|
|
# Add your LAN IP if accessing from another machine on your network
|
|
ALLOWED_ORIGINS=http://localhost:5173,http://localhost:8080
|
|
|
|
# ── Dual-Model AI Brain ─────────────────────────────────────
|
|
# Primary brain: GPT-OSS 20B (turn planner / decision maker)
|
|
BRAIN_API_BASE=http://localhost:11434
|
|
BRAIN_MODEL=gpt-oss:20b
|
|
BRAIN_TEMPERATURE=0.3
|
|
BRAIN_MAX_TOKENS=1024
|
|
BRAIN_TIMEOUT=120.0
|
|
|
|
# Validator brain: DeepSeek-R1-Distill-Qwen-14B (legality + explanation)
|
|
VALIDATOR_ENABLED=true
|
|
VALIDATOR_API_BASE=http://localhost:11434
|
|
VALIDATOR_MODEL=deepseek-r1:14b
|
|
VALIDATOR_TEMPERATURE=0.0
|
|
VALIDATOR_MAX_TOKENS=2048
|
|
VALIDATOR_TIMEOUT=120.0
|