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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
remove redundant code block
xprilion0f1de92e1942
diff --git a/litellm/utils.py b/litellm/utils.pyindex 2cffb5eb47e..515b6990eee 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -4000,17 +4000,6 @@ def get_optional_params( # noqa: PLR0915else False),)- elif custom_llm_provider == "wandb":- optional_params = litellm.WandbConfig().map_openai_params(- non_default_params=non_default_params,- optional_params=optional_params,- model=model,- drop_params=(- drop_params- if drop_params is not None and isinstance(drop_params, bool)- else False- ),- )elif custom_llm_provider == "azure":if litellm.AzureOpenAIO1Config().is_o_series_model(model=model):optional_params = litellm.AzureOpenAIO1Config().map_openai_params(