File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ def list_users() -> str:
240240 3 (assistant): response1 -> output guardrail intervenes
241241 4 (user): request2
242242 5 (assistant): response2
243-
243+
244244 Guardrail intervened on output in message 3 will cause
245245 the redaction of the preceding input (message 2) and message 3.
246246 """
@@ -255,9 +255,9 @@ def list_users() -> str:
255255 """
256256 In async streaming, the buffering is non-blocking,
257257 so the response may be returned before Guardrails has finished processing.
258-
258+
259259 However, in both sync and async, with guardrail_redact_output=True:
260- 1. the content should be properly redacted in memory allowing the
260+ 1. the content should be properly redacted in memory allowing the
261261 conversation to continue;
262262 """
263263 assert response1 .stop_reason == "guardrail_intervened"
You can’t perform that action at this time.
0 commit comments