From cd496fee2e3e7a3838e385b731614d39bbe9514e Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 21 May 2025 22:04:41 -0700 Subject: [PATCH] fix: fix linting error --- litellm/proxy/anthropic_endpoints/endpoints.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litellm/proxy/anthropic_endpoints/endpoints.py b/litellm/proxy/anthropic_endpoints/endpoints.py index 2395df3faf4..a84c1e84ab0 100644 --- a/litellm/proxy/anthropic_endpoints/endpoints.py +++ b/litellm/proxy/anthropic_endpoints/endpoints.py @@ -24,13 +24,13 @@ from litellm.proxy.utils import ProxyLogging router = APIRouter() -def return_anthropic_chunk(chunk: str | dict) -> str: +def return_anthropic_chunk(chunk: Any) -> str: """ Helper function to format streaming chunks for Anthropic API format - + Args: chunk: A string or dictionary to be returned in SSE format - + Returns: str: A properly formatted SSE chunk string """