AI Program Settings
Control AI voice, avatar, instructor visibility, and provider integrations. Only the founder sees this page.
⚙️ Feature Flags
🤖 AI Chat Instructor Provider
The AI Instructor (/chat route) automatically uses
Grok (xAI) if XAI_API_KEY is set as a Worker secret,
otherwise falls back to OpenAI GPT-4o-mini. This is controlled entirely
by the Worker — no frontend toggle needed.
Primary: Grok-3 (xAI) — set
XAI_API_KEY secret to activateFallback: GPT-4o-mini (OpenAI) — used when
XAI_API_KEY is absentTo activate Grok, run in
backend/cloudflare/:wrangler secret put XAI_API_KEY # Paste your xAI API key when prompted wrangler deploy
Get your xAI API key at console.x.ai → API Keys.
🔗 AI Provider Configuration
Select the provider for each service. API keys must be added as
Cloudflare Worker secrets via
wrangler secret put <KEY_NAME>.
Changing the provider here only updates the frontend preference — the Worker route must also be wired.
🏫 K–12 Voice & Camera Safety Rules
Camera oral testing, microphone oral testing, and avatar video features require parent/guardian consent (via the consent gate) before any K–12 student may access them. These features are disabled below by default and should remain off until the consent workflow is fully wired.
Camera oral testing, microphone oral testing, and avatar video features require parent/guardian consent (via the consent gate) before any K–12 student may access them. These features are disabled below by default and should remain off until the consent workflow is fully wired.
👩🏫 Instructor Visibility & Voice Control
Visible
to Students
to Students
Voice
Enabled
Enabled
Avatar
Enabled
Enabled
🌎 Language Voice Profiles
Languages with a voice profile have instructor, browser locale, and pronunciation configuration.
Expert Review Required languages must not have pronunciation scoring marketed to students until a qualified reviewer has validated the content.
Pass 1 (8 languages profiled). Pass 2 adds ~38 more languages after founder review.
Pass 1 (8 languages profiled). Pass 2 adds ~38 more languages after founder review.
🕐 Future Integration Roadmap
These are planned. Check each item off as it is implemented.
⚠️ Danger Zone
Reset AI Settings to Defaults
Clears all feature flags, provider selections, and instructor overrides. Cannot be undone.