Skip to content

Commit e14c18c

Browse files
committed
remove duplicate appending of text to previous_texts in required tool choice streaming
Signed-off-by: Jason Cheng <[email protected]>
1 parent 0c31e28 commit e14c18c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

vllm/entrypoints/openai/serving_chat.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -783,9 +783,6 @@ async def chat_completion_stream_generator(
783783
delta_message.tool_calls[0].id is not None):
784784
history_tool_call_cnt += 1
785785

786-
# update the previous values for the next iteration
787-
previous_texts[i] = current_text
788-
789786
# handle streaming deltas for tools with "auto" tool choice
790787
# and reasoning parser
791788
elif tool_choice_auto and self.reasoning_parser:

0 commit comments

Comments
 (0)