Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ JWT_EXPIRY=24h
AUTHORIZED_WALLETS=

# Sipher Agent (OpenRouter)
SIPHER_OPENROUTER_API_KEY=
# pi-ai reads OPENROUTER_API_KEY (see @mariozechner/pi-ai/dist/env-api-keys.js).
# Do NOT introduce a SIPHER_OPENROUTER_API_KEY — historically it caused a silent
# prod outage when the valid key was stored under the sipher-prefixed name and
# the invalid one was under OPENROUTER_API_KEY (issue #295).
OPENROUTER_API_KEY=
SIPHER_MODEL=anthropic/claude-sonnet-4.6

Expand Down
3 changes: 1 addition & 2 deletions docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ SSH access: `ssh sip` (the `sipher` container runs under the `sip` user, there i
| `ADMIN_API_KEY` | Admin API key for `/api/admin/*` endpoints. Empty = endpoints return 503. | `openssl rand -hex 32` |
| `API_KEYS` | Comma-separated public API keys | Generate per client |
| `SOLANA_RPC_URL` | Primary Solana RPC endpoint | Provider dashboard |
| `SIPHER_OPENROUTER_API_KEY` | LLM provider key (OpenRouter) | openrouter.ai dashboard |
| `OPENROUTER_API_KEY` | Fallback for non-Sipher agents | openrouter.ai dashboard |
| `OPENROUTER_API_KEY` | LLM provider key — read by pi-ai. Authoritative for sipher agent chat. | openrouter.ai dashboard |

### Optional

Expand Down
Loading