1 month ago
New

Remove API key step from onboarding, add admin-configurable default free model

Sunday, March 15, 2026·1 min read
  • Remove Step 3 (API Keys) from onboarding wizard — now 3 steps: Repos, Voice, Done
  • Auto-configure new users with admin-selected free OpenRouter model on completion
  • Add PlatformSettings model (singleton) for admin-configurable defaults
  • Add /admin/settings page with model selector grouped by pricing tier
  • Create shared resolveAIConfig() helper — single source of truth for all 7 generate routes
  • Add rate limiting (50/hr) for users on the platform key
  • OpenRouter client falls back to OPENROUTER_API_KEY env var when user has no key
  • 24 new tests (resolveAIConfig edge cases, rate limiting, admin API, platform defaults)
  • 703/703 tests passing
Share