From 35993ecd37991ba577a56bfbee829f1aa68bfbff Mon Sep 17 00:00:00 2001 From: sailikhithk Date: Fri, 14 Aug 2026 19:44:13 -0500 Subject: [PATCH] style: apply ruff format to common_utils.py Resolves lint CI failure on PR #36981. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/llms/vertex_ai/common_utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/llms/vertex_ai/common_utils.py b/litellm/llms/vertex_ai/common_utils.py index e68470c6b49..d72fc88052d 100644 --- a/litellm/llms/vertex_ai/common_utils.py +++ b/litellm/llms/vertex_ai/common_utils.py @@ -1170,9 +1170,7 @@ class VertexAITokenCounter(BaseTokenCounter): ) resolved_contents: Final = ( - contents - if contents is not None - else _gemini_convert_messages_with_history(messages=messages or []) + contents if contents is not None else _gemini_convert_messages_with_history(messages=messages or []) ) count_tokens_params: Final = {