[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:
@@ -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",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user