31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
# ──────────────────────────────────────────────
|
|
# MiroFish BMNR Simulator — Environment Config
|
|
# ──────────────────────────────────────────────
|
|
# Copy this to .env and fill in your values.
|
|
# Only the provider you're using needs a key.
|
|
|
|
# ── LLM PROVIDER ──
|
|
# Options: anthropic, openai, gemini, openrouter, ollama, custom
|
|
VITE_LLM_PROVIDER=anthropic
|
|
|
|
# ── API KEYS (only needed for the provider you chose) ──
|
|
VITE_ANTHROPIC_API_KEY=
|
|
VITE_OPENAI_API_KEY=
|
|
VITE_GEMINI_API_KEY=
|
|
VITE_OPENROUTER_API_KEY=
|
|
|
|
# ── MODEL OVERRIDE (optional — each provider has a sensible default) ──
|
|
VITE_LLM_MODEL=
|
|
|
|
# ── OLLAMA (local — no key needed) ──
|
|
VITE_OLLAMA_BASE_URL=http://localhost:11434
|
|
|
|
# ── CUSTOM PROVIDER (OpenAI-compatible endpoint) ──
|
|
VITE_CUSTOM_BASE_URL=
|
|
VITE_CUSTOM_API_KEY=
|
|
|
|
# ── NOTE ──
|
|
# When running inside claude.ai artifacts, no API key is needed —
|
|
# the Anthropic API is available automatically.
|
|
# API keys are only required when self-hosting via `npm run dev`.
|