Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions vllm/entrypoints/openai/api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1578,8 +1578,7 @@ def buffered_iterator():
full_content = full_content[:2048] + ""
"...[truncated]"
logger.info(
"response_body={streaming_complete: "
"content='%s', chunks=%d}",
"response_body={streaming_complete: content=%r, chunks=%d}",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps a nitpick - but the single quotes surrounding the content does aid readability, so let's add those back? 👍

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point — adding quotes manually will actually result in double quotes like:

response_body={streaming_complete: content=''...''}

Using %r already preserves the quotes automatically for readability.

response_body={streaming_complete: content='...'}

full_content,
chunk_count,
)
Expand Down
Loading