From f6f86f04bf9acb62fe48b31d2684fd4aaef30bf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8D=E9=94=90?= <1565842059@qq.com> Date: Mon, 31 Aug 2026 00:14:19 +0800 Subject: [PATCH] fix(vertex-ai): satisfy tool deduplication lint --- .../llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py b/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py index 8949ac7f9c5..f8715b510a6 100644 --- a/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py +++ b/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py @@ -411,7 +411,7 @@ class VertexGeminiConfig(VertexAIBaseConfig, BaseConfig): if not isinstance(tools, list): return - deduplicated: Final[list] = [] + deduplicated: Final[list] = [] # mutable-ok: request payload requires an ordered list for tool in tools: if tool not in deduplicated: deduplicated.append(tool)