-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.env.example
More file actions
49 lines (41 loc) · 2.5 KB
/
Copy path.env.example
File metadata and controls
49 lines (41 loc) · 2.5 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
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# QWED — Environment Configuration Template
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
#
# Copy this file to .env and fill in your values:
# cp .env.example .env
#
# Or use the interactive setup wizard:
# qwed init
#
# WARNING: .env contains secrets. NEVER commit it to git.
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# ── Active Provider ──────────────────────────────────────────
# Which LLM provider to use by default.
# Options: openai, anthropic, ollama, openai-compatible
ACTIVE_PROVIDER=openai
# ── OpenAI (Direct API) ─────────────────────────────────────
# Get your key: https://platform.openai.com/api-keys
OPENAI_API_KEY=
OPENAI_MODEL=gpt-4o-mini
# ── Anthropic (Claude) ──────────────────────────────────────
# Get your key: https://console.anthropic.com/settings/keys
ANTHROPIC_API_KEY=
ANTHROPIC_MODEL=claude-sonnet-4-20250514
# ── Ollama (Local — No Key Needed) ──────────────────────────
# Install: https://ollama.com | Pull a model: ollama pull llama3
OLLAMA_BASE_URL=http://localhost:11434/v1
OLLAMA_MODEL=llama3
# ── OpenAI-Compatible Endpoint ──────────────────────────────
# Works with: DigitalOcean, Groq, Together, LM Studio, etc.
CUSTOM_BASE_URL=
CUSTOM_API_KEY=
CUSTOM_MODEL=
# ── Database (Optional — for hosted QWED server) ────────────
DATABASE_URL=sqlite:///./qwed.db
# ── Security (Required) ─────────────────────────────────────
# CORS allowed origins (comma-separated). MUST be set.
QWED_CORS_ORIGINS=http://localhost:3000
# API key secret for PBKDF2 hashing. MUST be set.
# Generate with: python -c "import secrets; print(secrets.token_urlsafe(48))"
API_KEY_SECRET=