mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-29 23:04:46 +00:00
test_bedrock_guardrail_triggered
This commit is contained in:
@@ -214,7 +214,6 @@ async def test_bedrock_guardrail_triggered():
|
||||
pytest.fail("Should have thrown an exception")
|
||||
except Exception as e:
|
||||
print(e)
|
||||
assert "GUARDRAIL_INTERVENED" in str(e)
|
||||
assert "Violated guardrail policy" in str(e)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user