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: assert the prefixed model the responses bridge now hands back (#37744)

yuneng-jiange98b9fda904e
diff --git a/tests/llm_translation/test_openai.py b/tests/llm_translation/test_openai.py
index 61819dfc860..10ed5f1ef68 100644
--- a/tests/llm_translation/test_openai.py
+++ b/tests/llm_translation/test_openai.py
@@ -1469,7 +1469,6 @@ def test_responses_gpt54_with_xhigh_reasoning():
mock_responses.assert_called_once()
request_body = mock_responses.call_args.kwargs
- # The responses prefix should be stripped before routing.
- assert request_body["model"] == "gpt-5.4"
+ assert request_body["model"] == "openai/gpt-5.4"
# chat-completions reasoning_effort must map to Responses API reasoning.
assert request_body["reasoning"] == {"effort": "xhigh"}