From 248e33c40d3ec3ec605c1dca9419e82d2e733ca6 Mon Sep 17 00:00:00 2001 From: ankrovv Date: Wed, 10 Jun 2026 20:52:42 -0700 Subject: [PATCH] [Bugfix][Responses API] Set id on function_call item in streaming done event (#44608) Signed-off-by: Aniruddh Krovvidi Co-authored-by: Flora Feng <4florafeng@gmail.com> --- vllm/entrypoints/openai/responses/streaming_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/entrypoints/openai/responses/streaming_events.py b/vllm/entrypoints/openai/responses/streaming_events.py index 9c463b3d5b..7447347fba 100644 --- a/vllm/entrypoints/openai/responses/streaming_events.py +++ b/vllm/entrypoints/openai/responses/streaming_events.py @@ -491,7 +491,7 @@ def emit_function_call_done_events( type="function_call", arguments=arguments, name=function_name, - item_id=state.current_item_id, + id=state.current_item_id, output_index=state.current_output_index, sequence_number=-1, call_id=state.current_call_id,