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(azure): remove redundant o-series assertion

David Steele054771cac53b
diff --git a/tests/test_litellm/llms/azure/chat/test_azure_chat_o_series_transformation.py b/tests/test_litellm/llms/azure/chat/test_azure_chat_o_series_transformation.py
index 57d60df3a11..9db9ab971a0 100644
--- a/tests/test_litellm/llms/azure/chat/test_azure_chat_o_series_transformation.py
+++ b/tests/test_litellm/llms/azure/chat/test_azure_chat_o_series_transformation.py
@@ -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():