From c70920d10b75002c629378d28692d48e6892f6e1 Mon Sep 17 00:00:00 2001 From: Steffan Wolter Date: Thu, 1 Oct 2026 20:15:14 +0200 Subject: [PATCH] test(chatgpt): refresh service-tier cases after main rebase Keep the tier-preservation regression on the current subscription model and match the moved unit-test suite's formatting. The adapter still forwards preferences without claiming backend priority entitlement. --- .../responses/test_chatgpt_responses_transformation.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/unit/llms/chatgpt/responses/test_chatgpt_responses_transformation.py b/tests/unit/llms/chatgpt/responses/test_chatgpt_responses_transformation.py index f2c2195eaed..88868844bb1 100644 --- a/tests/unit/llms/chatgpt/responses/test_chatgpt_responses_transformation.py +++ b/tests/unit/llms/chatgpt/responses/test_chatgpt_responses_transformation.py @@ -39,7 +39,7 @@ class TestChatGPTResponsesAPITransformation: def test_chatgpt_preserves_service_tier(self, requested_tier: str, expected_tier: str, effort: str) -> None: config: Final = ChatGPTResponsesAPIConfig() request: Final = config.transform_responses_api_request( - model="chatgpt/gpt-5.6-sol", + model="chatgpt/gpt-6.1-sol", input=[{"role": "user", "content": "Reply with OK"}], response_api_optional_request_params={ "service_tier": requested_tier, @@ -62,7 +62,7 @@ class TestChatGPTResponsesAPITransformation: def test_chatgpt_does_not_introduce_unsupported_service_tier(self, requested_tier: str | None) -> None: config: Final = ChatGPTResponsesAPIConfig() request: Final = config.transform_responses_api_request( - model="chatgpt/gpt-5.6-sol", + model="chatgpt/gpt-6.1-sol", input=[{"role": "user", "content": "Reply with OK"}], response_api_optional_request_params={} if requested_tier is None else {"service_tier": requested_tier}, litellm_params=GenericLiteLLMParams(), @@ -96,7 +96,6 @@ class TestChatGPTResponsesAPITransformation: assert isinstance(config, ChatGPTResponsesAPIConfig) assert config.custom_llm_provider == LlmProviders.CHATGPT - @pytest.mark.parametrize( "model_name", [