From 8f95a8c727fd825a5126edacbc289429b52a3895 Mon Sep 17 00:00:00 2001 From: Venkat Naveen <56882317+venkatnaveen7@users.noreply.github.com> Date: Wed, 28 May 2025 08:43:28 +0400 Subject: [PATCH] Update input_guardrails.py Changed the function comment as input_guardrails only deals with input messages --- examples/agent_patterns/input_guardrails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/agent_patterns/input_guardrails.py b/examples/agent_patterns/input_guardrails.py index 154535511..18ab9d2a7 100644 --- a/examples/agent_patterns/input_guardrails.py +++ b/examples/agent_patterns/input_guardrails.py @@ -20,7 +20,7 @@ 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.