Skip to content

Commit ad80f78

Browse files
Update input_guardrails.py (#774)
Changed the function comment as input_guardrails only deals with input messages
1 parent 0a28d71 commit ad80f78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/agent_patterns/input_guardrails.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
Guardrails are checks that run in parallel to the agent's execution.
2121
They can be used to do things like:
2222
- Check if input messages are off-topic
23-
- Check that output messages don't violate any policies
23+
- Check that input messages don't violate any policies
2424
- Take over control of the agent's execution if an unexpected input is detected
2525
2626
In this example, we'll setup an input guardrail that trips if the user is asking to do math homework.

0 commit comments

Comments
 (0)