Remove dead embedding encoding fallback

This commit is contained in:
Cursor Agent 2026-05-01 14:51:19 +00:00
parent 5c72a95289
commit df41973110
No known key found for this signature in database

View file

@ -4924,8 +4924,7 @@ def embedding( # noqa: PLR0915
optional_params["encoding_format"] = encoding_format
else:
optional_params["encoding_format"] = (
optional_params.get("encoding_format")
or get_secret_str("LITELLM_DEFAULT_EMBEDDING_ENCODING_FORMAT")
get_secret_str("LITELLM_DEFAULT_EMBEDDING_ENCODING_FORMAT")
or "float"
)