feat(hooks): pass cleanup from HTTP handler to dispatch
This commit is contained in:
parent
8984bc4779
commit
f1feaa2596
@ -184,6 +184,8 @@ export function createHooksRequestHandler(
|
|||||||
thinking: mapped.action.thinking,
|
thinking: mapped.action.thinking,
|
||||||
timeoutSeconds: mapped.action.timeoutSeconds,
|
timeoutSeconds: mapped.action.timeoutSeconds,
|
||||||
allowUnsafeExternalContent: mapped.action.allowUnsafeExternalContent,
|
allowUnsafeExternalContent: mapped.action.allowUnsafeExternalContent,
|
||||||
|
cleanup: mapped.action.cleanup,
|
||||||
|
cleanupDelayMinutes: mapped.action.cleanupDelayMinutes,
|
||||||
});
|
});
|
||||||
sendJson(res, 202, { ok: true, runId });
|
sendJson(res, 202, { ok: true, runId });
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user