# Copy values into your local environment or the Hugging Face Space settings. # On Hugging Face, OPENROUTER_API_KEY must be a Secret, never a public Variable. OPENROUTER_API_KEY=replace-with-a-local-development-key OPENROUTER_MODEL=minimax/minimax-m3:free OPENROUTER_FALLBACK_MODELS=minimax/minimax-m2.7:free,openrouter/free OPENROUTER_SITE_URL=https://2b-entertainment.com ENVIRONMENT=development # Development only: localhost and explicit private-LAN origins are accepted. CORS_LOCALHOST_ORIGINS=http://localhost:8080,http://127.0.0.1:8080,http://192.168.2.149:8080 RATE_LIMIT_REQUESTS=15 RATE_LIMIT_WINDOW_SECONDS=60 MAX_BODY_BYTES=24576 MAX_MESSAGE_CHARACTERS=2000 MAX_HISTORY_MESSAGES=12 MAX_HISTORY_MESSAGE_CHARACTERS=1200 MAX_HISTORY_CHARACTERS=6000 UPSTREAM_TIMEOUT_SECONDS=25 MAX_OUTPUT_TOKENS=700 MAX_OUTPUT_CHARACTERS=12000 # Explicitly enabled for Fuugi. Search calls may incur separate OpenRouter charges. WEB_SEARCH_ENABLED=true WEB_SEARCH_ENGINE=exa WEB_SEARCH_MAX_RESULTS=4 WEB_SEARCH_MAX_USES=1 WEB_SEARCH_MAX_CHARACTERS=4000 # No visitor profiles: only allowlisted topic/intent counters per UTC day are stored. MARKET_RESEARCH_ENABLED=true MARKET_RESEARCH_DATABASE_PATH=data/private/fuugi_research.sqlite3 MARKET_RESEARCH_RETENTION_DAYS=90 # Individual visitor memory stays disabled. MEMORY_ENABLED=false MEMORY_DATABASE_PATH=data/fuugi_memory.sqlite3 MEMORY_SESSION_PEPPER=replace-with-at-least-32-random-characters MEMORY_RETENTION_DAYS=90 MEMORY_MAX_ITEMS=50 MEMORY_MAX_ITEM_CHARACTERS=500 MEMORY_MAX_CONTEXT_CHARACTERS=4000 # Server-side route to the private Fuugi worker. Never put the token in a public variable. FUUGI_WORKER_URL=https://2btainment-fuugi-worker.hf.space FUUGI_WORKER_TOKEN=replace-with-the-worker-secret FUUGI_WORKER_TIMEOUT_SECONDS=45 TRUST_PROXY_HEADERS=false TRUSTED_PROXY_NETWORKS=127.0.0.1/32,::1/128