Skip to content

Commit 26d1a0c

Browse files
committed
Removed magic constant
Signed-off-by: Aleksandr Samarin <[email protected]>
1 parent 0a42a69 commit 26d1a0c

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
@@ -759,7 +759,7 @@ async def chat_completion_stream_generator(
759759
harmony_parser.current_recipient,
760760
token_delta
761761
))
762-
delta_text = "".join(state[2] for state in token_states)
762+
delta_text = "".join(state for _, _ state in token_states)
763763
else:
764764
delta_text = output.text
765765

0 commit comments

Comments
 (0)