fix: ensure lite agents course-correct on validation errors
Some checks failed
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled

* fix: ensure lite agents course-correct on validation errors

* chore: update cassettes and test expectations

* fix: ensure multiple guardrails propogate
This commit is contained in:
Greyson LaLonde
2025-11-05 19:02:11 -05:00
committed by GitHub
parent 61ad1fb112
commit 7e6171d5bc
28 changed files with 8125 additions and 10295 deletions

View File

@@ -382,8 +382,8 @@ def test_guardrail_is_called_using_string():
assert not guardrail_events["completed"][0].success
assert guardrail_events["completed"][1].success
assert (
"Here are the top 10 best soccer players in the world, focusing exclusively on Brazilian players"
in result.raw
"top 10 best Brazilian soccer players" in result.raw or
"Brazilian players" in result.raw
)