Skip to content

Conversation

HarshJa1n
Copy link
Contributor

Remove the not keyword from the tripwire_triggered parameter in the math_guardrail function in examples/agent_patterns/input_guardrails.py.

The not keyword prevented the guardrail from being triggered, which defeats the purpose of the example.

Remove the `not` keyword from the `tripwire_triggered` parameter in the `math_guardrail` function in `examples/agent_patterns/input_guardrails.py`.

The not keyword prevented the guardrail from being triggered, which defeats the purpose of the example.
@rm-openai rm-openai merged commit d4f01e6 into openai:main Mar 12, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants