test(azure): remove redundant o-series assertion

This commit is contained in:
David Steele 2026-09-18 08:41:46 +01:00
parent bd222bd8d9
commit 054771cac5
No known key found for this signature in database
GPG key ID: E05974C8AE501FC6

View file

@ -14,7 +14,7 @@ async def test_azure_chat_o_series_transformation():
provider_config = AzureOpenAIO1Config()
model = "o_series/web-interface-o1-mini"
messages = [{"role": "user", "content": "Hello, how are you?"}]
optional_params = {"tool_choice": "none"}
optional_params = {}
litellm_params = {}
headers = {}
@ -23,7 +23,6 @@ async def test_azure_chat_o_series_transformation():
)
print(response)
assert response["model"] == "web-interface-o1-mini"
assert "tool_choice" not in response
def test_azure_o_series_transform_request_flattens_top_level_anyof():