From ac63216edcba51f6c2b4d9b5df6be58d4ebf1778 Mon Sep 17 00:00:00 2001 From: mateo Date: Thu, 13 Aug 2026 19:52:34 +0000 Subject: [PATCH] style(bedrock): apply ruff format Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/llms/bedrock/chat/converse_transformation.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litellm/llms/bedrock/chat/converse_transformation.py b/litellm/llms/bedrock/chat/converse_transformation.py index 93417b6728f..f66badd6293 100644 --- a/litellm/llms/bedrock/chat/converse_transformation.py +++ b/litellm/llms/bedrock/chat/converse_transformation.py @@ -1785,8 +1785,7 @@ class AmazonConverseConfig(BaseConfig): if not cache_details: return None tokens_by_ttl: Final = { - ttl: sum(detail["inputTokens"] for detail in cache_details if detail["ttl"] == ttl) - for ttl in ("5m", "1h") + ttl: sum(detail["inputTokens"] for detail in cache_details if detail["ttl"] == ttl) for ttl in ("5m", "1h") } if sum(tokens_by_ttl.values()) != cache_creation_input_tokens: return None