From aa5969c95a7cc96eff6ff2014f788c4303ffe521 Mon Sep 17 00:00:00 2001 From: yimao <46945065+yimao@users.noreply.github.com> Date: Sat, 9 May 2026 11:29:08 +0800 Subject: [PATCH] Update litellm/llms/dashscope/embed/transformation.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- litellm/llms/dashscope/embed/transformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/dashscope/embed/transformation.py b/litellm/llms/dashscope/embed/transformation.py index fe8ff6a453e..8c968509570 100644 --- a/litellm/llms/dashscope/embed/transformation.py +++ b/litellm/llms/dashscope/embed/transformation.py @@ -42,7 +42,7 @@ class DashScopeEmbeddingConfig(BaseEmbeddingConfig): # DashScope's compatible-mode embeddings API accepts the same params as OpenAI. # `dimensions` / `encoding_format` are only honored by text-embedding-v3 / v4; # earlier versions silently ignore them server-side. - return ["dimensions", "encoding_format"] + return ["dimensions", "encoding_format", "user"] def map_openai_params( self,