19 lines
871 B
JavaScript
19 lines
871 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.runAssistantAddressLaneAttemptRuntime = runAssistantAddressLaneAttemptRuntime;
|
|
async function runAssistantAddressLaneAttemptRuntime(input) {
|
|
const followupContext = input.carryMeta?.followupContext && typeof input.carryMeta.followupContext === "object"
|
|
? input.carryMeta.followupContext
|
|
: null;
|
|
const scopedFollowupContext = input.mergeFollowupContextWithOrganizationScope(followupContext, input.activeOrganization);
|
|
if (scopedFollowupContext) {
|
|
return input.runAddressQueryTryHandle(input.messageUsed, {
|
|
followupContext: scopedFollowupContext,
|
|
analysisDateHint: input.analysisDateHint
|
|
});
|
|
}
|
|
return input.runAddressQueryTryHandle(input.messageUsed, {
|
|
analysisDateHint: input.analysisDateHint
|
|
});
|
|
}
|