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 logger
Sameer Kankute3634b5fda09c
diff --git a/litellm/utils.py b/litellm/utils.pyindex 68ca29d9403..81e772b1765 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -3190,7 +3190,6 @@ def get_optional_params_embeddings( # noqa: PLR0915## raise exception if non-default value passed for non-openai/azure embedding callselif custom_llm_provider == "openai":# 'dimensions` is only supported in `text-embedding-3` and later models- verbose_logger.debug(f"allowed_openai_params: {allowed_openai_params}")if (model is not Noneand "text-embedding-3" not in model