mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
style(utils): drop an em-dash from the vertex encoding_format comment
This commit is contained in:
parent
8e687f1004
commit
2a88384e4e
1 changed files with 3 additions and 3 deletions
|
|
@ -3543,9 +3543,9 @@ def get_optional_params_embeddings(
|
|||
)
|
||||
elif custom_llm_provider == "vertex_ai" or custom_llm_provider == "gemini":
|
||||
# OpenAI SDKs send encoding_format="float" by default; float lists are
|
||||
# exactly what the vertex API returns, so the param is a no-op — don't
|
||||
# reject the provider default. Other values (e.g. "base64") stay on
|
||||
# the unsupported-param path below.
|
||||
# exactly what the vertex API returns, so the param is a no-op and the
|
||||
# provider default is not rejected. Other values (e.g. "base64") stay
|
||||
# on the unsupported-param path below.
|
||||
if non_default_params.get("encoding_format") == "float":
|
||||
non_default_params.pop("encoding_format")
|
||||
supported_params = get_supported_openai_params(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue