Skip to content

Commit 5f3ed73

Browse files
authored
Update usage-considerations.mdx (#20336)
added wording about what happens if workers ai unavailable but set to flag
1 parent fd7d459 commit 5f3ed73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/ai-gateway/guardrails/usage-considerations.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Since Guardrails runs on Workers AI, enabling it incurs usage on Workers AI. You
1111

1212
## Additional considerations
1313

14-
- Model availability: If at least one hazard category is set to `block`, but AI Gateway is unable to receive a response from Workers AI, the request will be blocked.
14+
- Model availability: If at least one hazard category is set to `block`, but AI Gateway is unable to receive a response from Workers AI, the request will be blocked. Conversely, if a hazard category is set to `flag` and AI Gateway cannot obtain a response from Workers AI, the request will proceed without evaluation. This approach prioritizes availability, allowing requests to continue even when content evaluation is not possible.
1515
- Latency impact: Enabling Guardrails adds some latency. Consider this when balancing safety and speed.
1616

1717
:::note

0 commit comments

Comments
 (0)