Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xusenlin committed Apr 29, 2024
1 parent a70de4b commit 6c171e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/vllm_routes/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ async def create_chat_completion_stream(

choice = ChunkChoice(
index=i,
delta=delta or ChoiceDelta(),
delta=delta or ChoiceDelta(content=delta_text),
finish_reason=finish_reason,
logprobs=None,
)
Expand Down

0 comments on commit 6c171e7

Please sign in to comment.