mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-14 03:20:49 +00:00
hooks: pass sessionKey to embedded after tool call context
This commit is contained in:
@@ -427,7 +427,7 @@ export async function handleToolExecutionEnd(
|
||||
.runAfterToolCall(hookEvent, {
|
||||
toolName,
|
||||
agentId: undefined,
|
||||
sessionKey: undefined,
|
||||
sessionKey: ctx.params.sessionKey,
|
||||
})
|
||||
.catch((err) => {
|
||||
ctx.log.warn(`after_tool_call hook failed: tool=${toolName} error=${String(err)}`);
|
||||
|
||||
Reference in New Issue
Block a user