openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
12 lines (11 loc) • 507 B
JavaScript
//#region src/auto-reply/reply/acp-elicitation-handler-lazy.ts
/** Defers the structured-input stack while preserving one exact handler per turn. */
function createLazyAcpElicitationHandler(params) {
let handler;
return async (request, context) => {
handler ??= import("./acp-elicitation-handler-BXFa87TF.mjs").then(({ createAcpElicitationHandler }) => createAcpElicitationHandler(params));
return (await handler)(request, context);
};
}
//#endregion
export { createLazyAcpElicitationHandler as t };