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
test_mock_router_testing_params_str_to_bool_conversion
Ishaan Jaff080372399f17
diff --git a/tests/router_unit_tests/test_router_helper_utils.py b/tests/router_unit_tests/test_router_helper_utils.pyindex 19d2bec124b..772f500686b 100644--- a/tests/router_unit_tests/test_router_helper_utils.py+++ b/tests/router_unit_tests/test_router_helper_utils.py@@ -1194,8 +1194,7 @@ def test_init_responses_api_endpoints(model_list):# Test string to bool conversion("true", "false", "True", True, False, True),("TRUE", "FALSE", "False", True, False, False),- ("1", "0", "yes", True, False, True),- ("false", "true", "no", False, True, False),+ ("false", "true", "false", False, True, False),# Test actual boolean values (should pass through unchanged)(True, False, True, True, False, True),(False, True, False, False, True, False),@@ -1203,7 +1202,6 @@ def test_init_responses_api_endpoints(model_list):(None, None, None, None, None, None),# Test mixed types("true", False, None, True, False, None),- (True, "false", "1", True, False, True),],)def test_mock_router_testing_params_str_to_bool_conversion(