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 f461bea2ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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