-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
26 lines (21 loc) · 969 Bytes
/
Copy path.env.example
File metadata and controls
26 lines (21 loc) · 969 Bytes
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
# Optional system-wide AI keys for DailyLearn's "Use my own API key" toggle.
# These are SERVER-ONLY env vars (no VITE_ prefix) — set them in your Vercel
# project settings. They are read by the /api/ai serverless function and are
# NEVER sent to or bundled into the browser.
#
# Set at least one provider's key. DEFAULT_AI_PROVIDER selects which one is
# used when a user has "Use my own API key" turned off (the default).
DEFAULT_AI_PROVIDER=anthropic
OPENAI_API_KEY=
OPENAI_MODEL=gpt-5-mini
ANTHROPIC_API_KEY=
ANTHROPIC_MODEL=claude-sonnet-4-6
GEMINI_API_KEY=
GEMINI_MODEL=gemini-2.5-flash
# Supabase project for accounts (admin/learner roles + AI-access toggle).
# VITE_-prefixed vars are bundled into the client (the anon key is safe to
# expose; it only allows access permitted by Row Level Security policies).
# SUPABASE_SERVICE_ROLE_KEY is SERVER-ONLY — never prefix it with VITE_.
VITE_SUPABASE_URL=
VITE_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=