From 02ed46f8ac226d928b9e7592ffad7b5effc9ffc9 Mon Sep 17 00:00:00 2001 From: Arbin Date: Mon, 7 Sep 2026 19:13:16 +0800 Subject: [PATCH] style: fix ruff format on converse_transformation.py CI's lint job checks litellm/**/*.py against the changed-files diff with the pinned ruff==0.15.3 formatter; one line in the previous commit exceeded the wrap threshold under that version. --- litellm/llms/bedrock/chat/converse_transformation.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/llms/bedrock/chat/converse_transformation.py b/litellm/llms/bedrock/chat/converse_transformation.py index 6ad260fa76b..a54251f3dfd 100644 --- a/litellm/llms/bedrock/chat/converse_transformation.py +++ b/litellm/llms/bedrock/chat/converse_transformation.py @@ -1512,9 +1512,7 @@ class AmazonConverseConfig(BaseConfig): if ( isinstance(output_config, dict) and output_config.get("effort") is not None - and not AnthropicConfig._is_adaptive_thinking_model( - model, "bedrock", base_model=configured_base_model - ) + and not AnthropicConfig._is_adaptive_thinking_model(model, "bedrock", base_model=configured_base_model) ): from litellm.types.llms.anthropic import ( ANTHROPIC_EFFORT_BETA_HEADER,