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(responses): expect the bad-temperature 400 on a non-reasoning model
mateo-berri66947fcf7cd1
diff --git a/tests/openai_endpoints_tests/test_e2e_openai_responses_api.py b/tests/openai_endpoints_tests/test_e2e_openai_responses_api.pyindex be565972b94..1a7fb1f3e41 100644--- a/tests/openai_endpoints_tests/test_e2e_openai_responses_api.py+++ b/tests/openai_endpoints_tests/test_e2e_openai_responses_api.py@@ -115,9 +115,9 @@ def test_bad_request_error():def test_bad_request_bad_param_error():client = get_test_client()with pytest.raises(BadRequestError):- # Trigger error with invalid model name+ # Out-of-range temperature on a non-reasoning model, so drop_params forwards itclient.responses.create(- model="gpt-5.5", input="This should fail", temperature=2000+ model="gpt-4.1", input="This should fail", temperature=2000)