Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test_bedrock_guardrail_triggered

Ishaan Jaffadeffda68153
diff --git a/tests/otel_tests/test_guardrails.py b/tests/otel_tests/test_guardrails.py
index e386d5151e7..cfad6985a0f 100644
--- a/tests/otel_tests/test_guardrails.py
+++ b/tests/otel_tests/test_guardrails.py
@@ -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)