Skip to content

Commit 63b6cb9

Browse files
tomek-labukGuaris
andauthored
Update app/_ai_gateway_policies/ai-mcp-sanitizer/index.md
Co-authored-by: Angel <Guaris@users.noreply.github.com>
1 parent 20ed846 commit 63b6cb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • app/_ai_gateway_policies/ai-mcp-sanitizer

‎app/_ai_gateway_policies/ai-mcp-sanitizer/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ The `recover_redacted` setting is `true` by default.
208208
## Error handling
209209

210210
The AI MCP Sanitizer Policy uses [`stop_on_error`](/ai-gateway/policies/ai-mcp-sanitizer/reference/#schema--config-stop-on-error) to decide what happens when the PII service is unreachable, returns a non-200 response, or returns a malformed response.
211-
The `stop_on_error` setting is `true` by default.
211+
When `stop_on_error` is `true`, {{site.ai_gateway}} fails the call. When it's `false`, the call continues without sanitization.
212212

213213
## Differences from the AI PII Sanitizer Policy
214214

0 commit comments

Comments
 (0)