mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 07:15:01 +08:00
[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:
parent
8b8a8afc89
commit
c828d1bf98
@ -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()}",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user