From 77e359c0c72c9af4ac38b69a6bc22662f8563894 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Wed, 12 Mar 2025 22:45:17 +0900 Subject: [PATCH] chore: update guardrail.py minor fix --- src/agents/guardrail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agents/guardrail.py b/src/agents/guardrail.py index fcae0b8a7..5bebcd66f 100644 --- a/src/agents/guardrail.py +++ b/src/agents/guardrail.py @@ -86,7 +86,7 @@ class InputGuardrail(Generic[TContext]): [RunContextWrapper[TContext], Agent[Any], str | list[TResponseInputItem]], MaybeAwaitable[GuardrailFunctionOutput], ] - """A function that receives the the agent input and the context, and returns a + """A function that receives the agent input and the context, and returns a `GuardrailResult`. The result marks whether the tripwire was triggered, and can optionally include information about the guardrail's output. """