From 223e49e9ae157ac66223fef24e3962190263c957 Mon Sep 17 00:00:00 2001 From: dajiaohuang Date: Fri, 4 Sep 2026 14:36:08 +0800 Subject: [PATCH] style: format Gemini transformation --- litellm/llms/vertex_ai/gemini/transformation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/llms/vertex_ai/gemini/transformation.py b/litellm/llms/vertex_ai/gemini/transformation.py index 170267b90d9..93ae9058ed3 100644 --- a/litellm/llms/vertex_ai/gemini/transformation.py +++ b/litellm/llms/vertex_ai/gemini/transformation.py @@ -613,7 +613,9 @@ def _get_equivalent_key(key: str, available_keys: set) -> str | None: return None -def check_if_part_exists_in_parts(parts: list[PartType], part: PartType, excluded_keys: list[str] | None = None) -> bool: +def check_if_part_exists_in_parts( + parts: list[PartType], part: PartType, excluded_keys: list[str] | None = None +) -> bool: """ Check if a part exists in a list of parts Handles both camelCase and snake_case key variations (e.g., function_call vs functionCall)