Unverified Commit d1dd5f53 authored by Roy Wang's avatar Roy Wang Committed by GitHub
Browse files

[Frontend] Fix logging format when enable response logging (#28049)


Signed-off-by: default avataresmeetu <jasonailu87@gmail.com>
parent e52e4da9
...@@ -1572,8 +1572,7 @@ def _log_streaming_response(response, response_body: list) -> None: ...@@ -1572,8 +1572,7 @@ def _log_streaming_response(response, response_body: list) -> None:
full_content = full_content[:2048] + "" full_content = full_content[:2048] + ""
"...[truncated]" "...[truncated]"
logger.info( logger.info(
"response_body={streaming_complete: " "response_body={streaming_complete: content=%r, chunks=%d}",
"content='%s', chunks=%d}",
full_content, full_content,
chunk_count, chunk_count,
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment