refactor(agent): remove dead lifecycle scaffolding

This commit is contained in:
chengyongru authored and chengyongru committed 2026-07-27 12:00:06 +08:00
1 parent b3d3a3e6c3
commit 39348dfafe
26 files changed
+144 -236

No files matched your search

+1 -1
View File
@@ -1327,7 +1327,7 @@ class AgentRunner:
return payload, event, exc
return payload, event, None
if is_tool_error_result(tool_call.name, result):
if is_tool_error_result(result):
await hook.on_execute_tool_error(context, tool_call, tool, params, result)
event = {
"name": tool_call.name,