mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix(vertex_httpx.py): use special param
This commit is contained in:
parent
1cbf851ac2
commit
bea6fb2375
1 changed files with 1 additions and 1 deletions
|
@ -648,7 +648,7 @@ class VertexGeminiConfig:
|
||||||
optional_params["presence_penalty"] = value
|
optional_params["presence_penalty"] = value
|
||||||
if (param == "tools" or param == "functions") and isinstance(value, list):
|
if (param == "tools" or param == "functions") and isinstance(value, list):
|
||||||
optional_params["tools"] = self._map_function(value=value)
|
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
|
True if param == "functions" else False
|
||||||
)
|
)
|
||||||
if param == "tool_choice" and (
|
if param == "tool_choice" and (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue