[gpt-oss][Responses API] Fix the function call id format (#24409)

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
This commit is contained in:
Chauncey
2025-09-08 14:49:52 +08:00
committed by GitHub
parent 60f0843ef8
commit 425b04b8f4

View File

@ -273,7 +273,7 @@ def parse_output_message(message: Message) -> list[ResponseOutputItem]:
call_id=f"call_{random_id}",
type="function_call",
name=function_name,
id=f"ft_{random_id}",
id=f"fc_{random_id}",
)
output_items.append(response_item)
elif recipient is not None and (recipient.startswith("python")