mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
Remove dead embedding encoding fallback
This commit is contained in:
parent
5c72a95289
commit
df41973110
1 changed files with 1 additions and 2 deletions
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue