"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getValidAiQueryLimit = getValidAiQueryLimit;
function getValidAiQueryLimit(limit, maxLimit) {
    if (!limit) {
        return maxLimit;
    }
    return Math.min(limit, maxLimit);
}
//# sourceMappingURL=validators.js.map