Update input_guardrails.py (#774)

Changed the function comment as input_guardrails only deals with input
messages
This commit is contained in:
Venkat Naveen 2025-05-30 20:13:57 +04:00 committed by GitHub
parent 0a28d71cca
commit ad80f788b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,7 @@ This example shows how to use guardrails.
Guardrails are checks that run in parallel to the agent's execution.
They can be used to do things like:
- Check if input messages are off-topic
- Check that output messages don't violate any policies
- Check that input messages don't violate any policies
- Take over control of the agent's execution if an unexpected input is detected
In this example, we'll setup an input guardrail that trips if the user is asking to do math homework.