diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index 18e1d8d98a7..b215afc9e31 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -3821,7 +3821,7 @@ async def embeddings( # noqa: PLR0915 input_list = [] for i in data["input"]: input_list.append( - litellm.decode(model="gpt-3.5-turbo", tokens=i) + litellm.decode(model=m["model_name"], tokens=i) ) data["input"] = input_list break