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]

add AzureOpenAIO1Config for tools

Ishaan Jaff58b4e4b20664
diff --git a/litellm/llms/azure/chat/o_series_transformation.py b/litellm/llms/azure/chat/o_series_transformation.py
index 938362871c1..21aafce7fbf 100644
--- a/litellm/llms/azure/chat/o_series_transformation.py
+++ b/litellm/llms/azure/chat/o_series_transformation.py
@@ -14,6 +14,7 @@ Translations handled by LiteLLM:
from typing import List, Optional
+import litellm
from litellm import verbose_logger
from litellm.types.llms.openai import AllMessageValues
from litellm.utils import get_model_info
@@ -26,7 +27,9 @@ class AzureOpenAIO1Config(OpenAIOSeriesConfig):
"""
Get the supported OpenAI params for the Azure O-Series models
"""
- all_openai_params = super().get_supported_openai_params(model=model)
+ all_openai_params = litellm.OpenAIGPTConfig().get_supported_openai_params(
+ model=model
+ )
non_supported_params = [
"logprobs",
"top_p",