From 23f26c7a60362ae6aa391eed580d916d97f41d07 Mon Sep 17 00:00:00 2001 From: Vigilans Date: Tue, 21 Apr 2026 22:19:49 +0800 Subject: [PATCH] style: run black on messages/handler.py --- .../experimental_pass_through/messages/handler.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/litellm/llms/anthropic/experimental_pass_through/messages/handler.py b/litellm/llms/anthropic/experimental_pass_through/messages/handler.py index 69bc671effd..53ed7b1203a 100644 --- a/litellm/llms/anthropic/experimental_pass_through/messages/handler.py +++ b/litellm/llms/anthropic/experimental_pass_through/messages/handler.py @@ -567,8 +567,12 @@ def anthropic_messages_handler( custom_llm_provider=custom_llm_provider, **kwargs, ) - if _should_route_to_responses_api(custom_llm_provider, kwargs.get("model_info")): - return LiteLLMMessagesToResponsesAPIHandler.anthropic_messages_handler(**_shared_kwargs) + if _should_route_to_responses_api( + custom_llm_provider, kwargs.get("model_info") + ): + return LiteLLMMessagesToResponsesAPIHandler.anthropic_messages_handler( + **_shared_kwargs + ) # The in-gateway context_management polyfill runs inside # ``async_anthropic_messages_handler`` so it can ``await`` the