ca5605e056
POST /api/public/chat proxies to OpenRouter (model from OPENROUTER_MODEL, default deepseek/deepseek-v4-flash:nitro) with a system prompt built from live site config, sponsor queue, and strict guardrails (no income claims, seed-phrase warnings, Telegram fallback). Rate-limited per IP. Without OPENROUTER_API_KEY set, or on any API error, the widget transparently falls back to the built-in knowledge base, so the chat always works. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>