[Bugfix] gpt-oss container tool output bug (#25485)

Signed-off-by: Alec Solder <alecs@fb.com>
Co-authored-by: Alec Solder <alecs@fb.com>
This commit is contained in:
Alec S
2025-09-23 16:43:45 -04:00
committed by GitHub
parent 8b8a8afc89
commit c828d1bf98

View File

@@ -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()}",