From c828d1bf987bbfe412c1fcd46736b1598d647053 Mon Sep 17 00:00:00 2001 From: Alec S <10566873+alecsolder@users.noreply.github.com> Date: Tue, 23 Sep 2025 16:43:45 -0400 Subject: [PATCH] [Bugfix] gpt-oss container tool output bug (#25485) Signed-off-by: Alec Solder Co-authored-by: Alec Solder --- vllm/entrypoints/harmony_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vllm/entrypoints/harmony_utils.py b/vllm/entrypoints/harmony_utils.py index 57e4bb1e1da52..0c1c9c3192fc0 100644 --- a/vllm/entrypoints/harmony_utils.py +++ b/vllm/entrypoints/harmony_utils.py @@ -317,7 +317,8 @@ def parse_output_message(message: Message) -> list[ResponseOutputItem]: ) output_items.append(response_item) elif recipient is not None and (recipient.startswith("python") - or recipient.startswith("browser")): + or recipient.startswith("browser") + or recipient.startswith("container")): for content in message.content: reasoning_item = ResponseReasoningItem( id=f"rs_{random_uuid()}",