fix: pass tool_call_id to parse_tool_agent_output for proper payload resolution
This commit is contained in:
@@ -99,7 +99,10 @@ class PipelineStageEmitter:
|
||||
tool_call_id = str(block.get("id", "")).strip()
|
||||
if not tool_call_id or tool_call_id in self._emitted_tool_results:
|
||||
continue
|
||||
tool_output = parse_tool_agent_output(block.get("output"))
|
||||
tool_output = parse_tool_agent_output(
|
||||
block.get("output"),
|
||||
tool_call_id=tool_call_id,
|
||||
)
|
||||
if tool_output is None:
|
||||
_logger.warning(
|
||||
"tool_result_block_skipped",
|
||||
|
||||
Reference in New Issue
Block a user