We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a95993 + f0f93db commit d4f01e6Copy full SHA for d4f01e6
examples/agent_patterns/input_guardrails.py
@@ -53,7 +53,7 @@ async def math_guardrail(
53
54
return GuardrailFunctionOutput(
55
output_info=final_output,
56
- tripwire_triggered=not final_output.is_math_homework,
+ tripwire_triggered=final_output.is_math_homework,
57
)
58
59
0 commit comments