Skip to content

Commit a953d9c

Browse files
committed
Removed magic constant
1 parent cdf8fed commit a953d9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/entrypoints/openai/serving_chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ async def chat_completion_stream_generator(
688688
harmony_parser.current_recipient,
689689
token_delta
690690
))
691-
delta_text = "".join(state[2] for state in token_states)
691+
delta_text = "".join(state for _, _ state in token_states)
692692
else:
693693
delta_text = output.text
694694

0 commit comments

Comments
 (0)