The proxy now reads its upstream from SASQUATCH_AI_BASE + SASQUATCH_AI_KEY (falling back to Netlify's injected OPENROUTER_* vars), and the model allowlist is overridable via SASQUATCH_MODELS. Default behaviour is unchanged (gateway). This makes switching to a sats-only provider a config change, e.g. Routstr: SASQUATCH_AI_BASE=https://api.routstr.com/v1 SASQUATCH_AI_KEY=cashuA… (raw token) or sk-… (session) NOTE: api.routstr.com was returning 404 (empty models) on 2026-09-27, so we are NOT switching yet. Documented in AGENTS.md. |
||
|---|---|---|
| .. | ||
| ai.mjs | ||