# Rita.ai Multi-Account Configuration # Accounts can be managed via WebUI at http://localhost:7860/ (HF Space uses 7860 by default) # or via API at /api/accounts # Initial accounts from env vars (first run only, then data/accounts.json takes over) # Single account # RITA_TOKEN=your_token # RITA_VISITOR_ID=your_visitorid # Multiple accounts — comma-separated # RITA_TOKENS=token1,token2,token3 # RITA_VISITOR_IDS=vid1,vid2,vid3 # Optional (defaults shown) RITA_UPSTREAM=https://api_v2.rita.ai RITA_ORIGIN=https://www.rita.ai # Disable SSL verification for api_v2.rita.ai (hostname mismatch in upstream cert) DISABLE_SSL_VERIFY=1 # Background health check interval in seconds (default: 600 = 10 minutes) HEALTH_CHECK_INTERVAL=600 HOST=0.0.0.0 PORT=7860 DEBUG=1 # ===================== Admin Panel Authentication ===================== # Admin panel authentication token (empty = no auth) AUTH_TOKEN= # ===================== Auto Registration ===================== # Enable automatic account registration when active accounts drop below minimum AUTO_REGISTER_ENABLED=0 # Minimum active accounts to maintain (triggers auto-register when below) AUTO_REGISTER_MIN_ACTIVE=2 # How many accounts to register per batch AUTO_REGISTER_BATCH=1 # Default password for new accounts AUTO_REGISTER_PASSWORD=@qazwsx123456 # YesCaptcha API key for solving reCAPTCHA (https://yescaptcha.com) # YESCAPTCHA_KEY=your_yescaptcha_client_key # GPTMail API for temporary emails (https://mail.chatgpt.org.uk) # GPTMAIL_API_KEY=your_gptmail_api_key # GPTMAIL_API_BASE=https://mail.chatgpt.org.uk # Hugging Face Space persistent data directory (recommended) RITA_DATA_DIR=/data