style(utils): drop an em-dash from the vertex encoding_format comment

This commit is contained in:
mateo-berri 2026-08-29 12:15:32 -07:00
parent 8e687f1004
commit 2a88384e4e

View file

@ -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(