disclosure-bureau/web/.env.local.example

24 lines
1 KiB
Text

# Copy to .env.local and fill in. Both for local dev (with `supabase start`)
# and prod (with Coolify-provided URLs).
# Supabase (required for auth + chat persistence)
NEXT_PUBLIC_SUPABASE_URL=http://localhost:54321
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
# Chat agent — providers (NEVER use ANTHROPIC_API_KEY in this project)
# Primary: Claude Code via OAuth — get a token with `claude setup-token`
CLAUDE_CODE_OAUTH_TOKEN=sk-ant-oat01-...
CLAUDE_CODE_MODEL=haiku
# Fallback: OpenRouter (OpenAI-compatible API, free models available)
OPENROUTER_API_KEY=sk-or-v1-...
OPENROUTER_MODEL=deepseek/deepseek-v4-flash:free # primary (tool calling)
OPENROUTER_FALLBACK_MODEL=nvidia/nemotron-3-super-120b-a12b:free
# Pattern C tool calling needs OpenRouter for now
CHAT_PROVIDER=openrouter
# Public URL (for magic-link redirects)
NEXT_PUBLIC_SITE_URL=http://localhost:3030
# UFO data root (filesystem path containing wiki/, processing/, raw/)
UFO_ROOT=/Users/guto/ufo