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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Fix comment
Patrick Lafleur8e5efd29df85
diff --git a/tests/guardrails_tests/test_bedrock_guardrails.py b/tests/guardrails_tests/test_bedrock_guardrails.pyindex 2997e32f093..c4d1655594b 100644--- a/tests/guardrails_tests/test_bedrock_guardrails.py+++ b/tests/guardrails_tests/test_bedrock_guardrails.py@@ -1384,7 +1384,7 @@ async def test_bedrock_guardrail_post_call_success_hook_no_output_text():guardrailVersion="DRAFT")- # Mock Bedrock API response with PII masking+ # Mock Bedrock API with no output textmock_bedrock_response = MagicMock()mock_bedrock_response.status_code = 200mock_bedrock_response.json.return_value = {@@ -1419,4 +1419,6 @@ async def test_bedrock_guardrail_post_call_success_hook_no_output_text():data=data,response=mock_bedrock_response,user_api_key_dict=mock_user_api_key_dict,- )\ No newline at end of file+ )+ # If no error is raised, then the test passes+ print("✅ No output text in response test passed")\ No newline at end of file