UNPKG

agentfootprint

Version:

The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.

15 lines • 675 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.storeRequestLimit = void 0; /** * Private MemoryStore boundary rule. Capture once so the checked number is the * one the adapter uses; defaults and provider-specific upper caps stay local. */ function storeRequestLimit(value, option) { if (value === undefined || (Number.isInteger(value) && value > 0)) return value; const method = option === 'limit' ? 'list' : 'search'; throw new RangeError(`MemoryStore.${method}(): \`${option}\` must be a positive integer when provided.`); } exports.storeRequestLimit = storeRequestLimit; //# sourceMappingURL=requestLimit.js.map