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]

fix OPENAI_EMBEDDING_PARAMS

Ishaan Jafferdf9a19bc9d44
diff --git a/litellm/constants.py b/litellm/constants.py
index 318b23c72ce..3ff9a4b6fb0 100644
--- a/litellm/constants.py
+++ b/litellm/constants.py
@@ -374,7 +374,7 @@ OPENAI_TRANSCRIPTION_PARAMS = [
"timestamp_granularities",
]
-OPENAI_EMBEDDING_PARAMS = ["dimensions", "encoding_format", "user", "input_type"]
+OPENAI_EMBEDDING_PARAMS = ["dimensions", "encoding_format", "user"]
DEFAULT_EMBEDDING_PARAM_VALUES = {
**{k: None for k in OPENAI_EMBEDDING_PARAMS},