[Bugfix][Responses API] Preserve built-in tool output call IDs (#55596)

Signed-off-by: CorgiBoyG <111257566+CorgiBoyG@users.noreply.github.com>
Co-authored-by: Flora Feng <4florafeng@gmail.com>
This commit is contained in:
RongJie G
2026-09-29 22:45:14 +00:00
committed by GitHub
co-authored by Flora Feng
parent c37f86e572
commit 0755e69e75
3 changed files with 78 additions and 10 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ class HarmonyPythonTool(Tool):
processed = ResponseFunctionToolCallOutputItem(
id=f"fco_{random_uuid()}",
type="function_call_output",
call_id=f"call_{random_uuid()}",
call_id=last_msg.call_id,
output=msg.content[0].text,
status="completed",
)