Skip to content

Commit 0aa52c2

Browse files
fix arrow operator
1 parent dc53446 commit 0aa52c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guardrails/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ To prevent this, we can write a simple flow rule, that not only checks specific
8181
from invariant.detectors import prompt_injection, moderated
8282

8383
raise "Must not send email when agent has looked at suspicious email" if:
84-
(inbox: ToolOutput) ~> (call: ToolCall)
84+
(inbox: ToolOutput) -> (call: ToolCall)
8585
inbox is tool:get_inbox
8686
call is tool:send_email
8787
prompt_injection(inbox.content)

0 commit comments

Comments
 (0)