mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix: fix linting error
This commit is contained in:
parent
1cd2595006
commit
cd496fee2e
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue