[Bugfix][Responses] Set completed status for Harmony function calls (#46945)
Signed-off-by: amanambak <aman.paswan@ambak.com> Co-authored-by: amanambak <aman.paswan@ambak.com> Co-authored-by: Chauncey <chaunceyjiang@gmail.com>
Aman Paswan committed
Jun 30, 2026 at 13:25 UTC
aed541def40c127c8d3c1ec72d7f8e99bd58851a
2 files changed
+2
tests/entrypoints/openai/responses/test_harmony_utils.py
+1
@@ -142,6 +142,7 @@ class TestHarmonyToResponseOutput:
142
)
143
assert output_items[0].call_id.startswith("call_")
144
assert output_items[0].id.startswith("fc_")
145
+ assert output_items[0].status == "completed"
146
147
def test_commentary_with_python_recipient_creates_reasoning(self):
148
"""Test that commentary with recipient='python' creates reasoning items."""
vllm/entrypoints/openai/responses/harmony.py
+1
@@ -318,6 +318,7 @@ def _parse_function_call(message: Message, recipient: str) -> list[ResponseOutpu
318
type="function_call",
319
name=function_name,
320
id=f"fc_{random_id}",
321
+ status="completed",
322
)
323
output_items.append(response_item)
324
return output_items