mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-17 18:04:34 +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> Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
parent
86e5b73d71
commit
d8fda7420a
@ -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