Merge pull request #89 from eltociear/patch-1

chore: update guardrail.py
This commit is contained in:
Rohan Mehta 2025-03-12 13:30:56 -07:00 committed by GitHub
commit 94bdad6291
1 changed files with 1 additions and 1 deletions

View File

@ -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.
"""