You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Wait **~10 seconds** after spawning before sending messages (agent needs time to initialize)
194
194
- Do NOT use `--name` (not a real pi CLI flag)
195
195
196
-
**Model note**: Dev agents use the default model (no `--model` override needed). For cheaper tasks (e.g. read-only analysis), you can add `--model opencode-zen/claude-haiku-4-5`.
196
+
**Model note**: Dev agents use the top-tier model from the table above. For cheaper tasks (e.g. read-only analysis), use the cheap model from the sentry-agent table instead.
197
197
198
198
## Cleanup
199
199
@@ -218,13 +218,22 @@ If the agent's worktree has unpushed changes you want to preserve, skip worktree
218
218
219
219
## Sentry Agent
220
220
221
-
The sentry-agent is a **persistent, long-lived** session (unlike dev agents). It triages Sentry alerts and investigates critical issues via the Sentry API. It runs on **Haiku 4.5** (cheap) via OpenCode Zen.
221
+
The sentry-agent is a **persistent, long-lived** session (unlike dev agents). It triages Sentry alerts and investigates critical issues via the Sentry API. It runs on a cheap model to save tokens.
222
+
223
+
Pick the model based on which API key is available (check env vars in this order):
**Model note**: Use `opencode-zen/*` models for headless agents. `github-copilot/*` models reject Personal Access Tokens and will fail in non-interactive sessions.
236
+
**Model note**: `github-copilot/*` models reject Personal Access Tokens and will fail in non-interactive sessions.
228
237
229
238
The sentry-agent operates in **on-demand mode** — it does NOT poll. Sentry alerts arrive via the Slack bridge in real-time and are forwarded by you. The sentry-agent uses `sentry_monitor get <issue_id>` to investigate when asked.
0 commit comments