mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-04 07:29:08 +08:00
[gpt-oss][Responses API] Fix the function call id format (#24409)
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
This commit is contained in:
parent
60f0843ef8
commit
425b04b8f4
@ -273,7 +273,7 @@ def parse_output_message(message: Message) -> list[ResponseOutputItem]:
|
|||||||
call_id=f"call_{random_id}",
|
call_id=f"call_{random_id}",
|
||||||
type="function_call",
|
type="function_call",
|
||||||
name=function_name,
|
name=function_name,
|
||||||
id=f"ft_{random_id}",
|
id=f"fc_{random_id}",
|
||||||
)
|
)
|
||||||
output_items.append(response_item)
|
output_items.append(response_item)
|
||||||
elif recipient is not None and (recipient.startswith("python")
|
elif recipient is not None and (recipient.startswith("python")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user