Skip to content

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]

fix(vertex_httpx.py): use special param

Krrish Dholakiabea6fb2375b6
diff --git a/litellm/llms/vertex_httpx.py b/litellm/llms/vertex_httpx.py
index 1e842ce57ec..2f8a27ffe80 100644
--- a/litellm/llms/vertex_httpx.py
+++ b/litellm/llms/vertex_httpx.py
@@ -648,7 +648,7 @@ class VertexGeminiConfig:
optional_params["presence_penalty"] = value
if (param == "tools" or param == "functions") and isinstance(value, list):
optional_params["tools"] = self._map_function(value=value)
- optional_params["is_function_call"] = (
+ optional_params["litellm_param_is_function_call"] = (
True if param == "functions" else False
)
if param == "tool_choice" and (