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_bad_request_error_contains_httpx_response
Ishaan Jaffer9c028c03fbf7
diff --git a/tests/local_testing/test_exceptions.py b/tests/local_testing/test_exceptions.pyindex 6851325cc1f..eb1868fa91b 100644--- a/tests/local_testing/test_exceptions.py+++ b/tests/local_testing/test_exceptions.py@@ -1298,7 +1298,7 @@ async def test_exception_with_headers_httpx(@pytest.mark.asyncio[email protected]("model", ["azure/chatgpt-v-3", "openai/gpt-3.5-turbo"])[email protected]("model", ["azure/gpt-4.1-nano", "openai/gpt-3.5-turbo"])async def test_bad_request_error_contains_httpx_response(model):"""Test that the BadRequestError contains the httpx response