Skip to content

Commit c439991

Browse files
Update examples/disaggregated_prefill_v1/load_balance_proxy_server_example.py
handle suggestion Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent edd0212 commit c439991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/disaggregated_prefill_v1/load_balance_proxy_server_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ async def generate_stream():
541541
released_kv = True
542542
try:
543543
chunk_str = chunk.decode("utf-8").strip()
544-
except Exception:
544+
except UnicodeDecodeError:
545545
logger.debug(
546546
f"Skipping chunk: {chunk}")
547547
yield chunk

0 commit comments

Comments
 (0)