The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
style(utils): drop an em-dash from the vertex encoding_format comment
mateo-berri2a88384e4ec2
diff --git a/litellm/utils.py b/litellm/utils.pyindex 66a07d2e2db..c4250dd0e4b 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -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(