forked from phoenix/litellm-mirror
fix linting
This commit is contained in:
parent
a063168f1b
commit
c45fbd5e01
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ async def chunk_processor(
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Handle SSE format - pass through the raw SSE format
|
# Handle SSE format - pass through the raw SSE format
|
||||||
chunk = chunk.decode("utf-8") if isinstance(chunk, bytes) else chunk
|
if isinstance(chunk, bytes):
|
||||||
|
chunk = chunk.decode("utf-8")
|
||||||
|
|
||||||
# Store the chunk for post-processing
|
# Store the chunk for post-processing
|
||||||
if chunk.strip(): # Only store non-empty chunks
|
if chunk.strip(): # Only store non-empty chunks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue