# Hugging Face Space configuration reference. # Set these under Space → Settings → "Variables and secrets". # NONE are required for the default offline demo. # ── Variables (non-sensitive) ──────────────────────────────────────────────── RESEARCHLINK_LLM_MODE=offline # offline | anthropic | openai | openrouter | ollama | custom RESEARCHLINK_LLM_MODEL=researchlink-local RESEARCHLINK_LLM_TEMPERATURE=0.2 RESEARCHLINK_LLM_MAX_TOKENS=4096 # Fully air-gapped demo (no outbound network at all): # RESEARCHLINK_OFFLINE=true # Persist generated papers (requires attached HF persistent storage): # RESEARCHLINK_OUTPUT_DIR=/data/papers # Server (already set by the Dockerfile; override only if needed): # RESEARCHLINK_BIND_HOST=0.0.0.0 # RESEARCHLINK_BACKEND_PORT=7860 # ── Secrets (sensitive; only for the matching LLM mode) ─────────────────────── # ANTHROPIC_API_KEY= # OPENAI_API_KEY= # OPENROUTER_API_KEY= # RESEARCHLINK_UNPAYWALL_EMAIL=