From b1d6264a033315ae73a1f8b9f9e27d8e2fb433d6 Mon Sep 17 00:00:00 2001 From: Sangsiva <101570025+Sangsiva@users.noreply.github.com> Date: Fri, 25 Sep 2026 23:30:56 +0800 Subject: [PATCH] fix(anthropic): restore blank lines before requires_native_compaction_beta (ruff format) --- litellm/llms/anthropic/common_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/llms/anthropic/common_utils.py b/litellm/llms/anthropic/common_utils.py index 6e3ac69241e..27aed50720a 100644 --- a/litellm/llms/anthropic/common_utils.py +++ b/litellm/llms/anthropic/common_utils.py @@ -80,6 +80,8 @@ _CLAUDE_CODE_USER_AGENT_PREFIXES: Final = ("claude-cli/", "claude-code/") _CLAUDE_CODE_IDENTITY: Final = "You are Claude Code, Anthropic's official CLI for Claude." + + def requires_native_compaction_beta( custom_llm_provider: str, optional_params: Mapping[str, object],