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
{{ message }}
Repository navigation
Commit 86c0930
Browse filesBrowse the repository at this point in the historyBrowse files
feat: Decision helper modes, cover response body with timeout
Decision request timeout now also covers reading the response body,
so a stalled body fails after the configured timeout.
Decision helper gets a mode option: assert (default), report (never
fails, results and errors added to step comment) and skip (no requests).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/assertions.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -459,6 +459,21 @@ expected page to satisfy "success message is shown" (12%) with confidence of 70%
459
459
460
460
`I.decideVisually` also sends a screenshot, so it needs a model with image input. It uses `visualModel`, which is [Clef](https://openrouter.ai/cloudflare/clef) by default. Visual decisions are experimental.
461
461
462
+
To turn decisions off without removing the helper, set its `mode`:
463
+
464
+
| Mode | Behavior |
465
+
|---|---|
466
+
|`assert`| default, fails the step when a statement is not confirmed |
467
+
|`report`| requests the model but never fails, even on API errors; results and errors are added to the step as a comment |
468
+
|`skip`| does not request the model, every decision passes |
A failed decision is not retried by the [retryFailedStep](/plugins/retryFailedStep) plugin: asking again would cost another request and return the same answer. Only connection errors and timeouts are retried.
463
478
464
479
Use decision assertions for what a page means, and built-in assertions for exact values. `I.see('Total: $42.00')` is still the right check for a price.
0 commit comments