"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isVisionCapableModelName = isVisionCapableModelName;
exports.findInstalledVisionModel = findInstalledVisionModel;
function isVisionCapableModelName(name, details = {}) {
    const haystack = `${name} ${Object.values(details).join(' ')}`.toLowerCase();
    return /llava|bakllava|moondream|vision|qwen\d*(?:\.\d+)?vl|qwen.*vl|minicpm-v|granite.*vision|gemma.*vision/.test(haystack);
}
function findInstalledVisionModel(modelNames) {
    return modelNames.find((name) => isVisionCapableModelName(name));
}
//# sourceMappingURL=visionModels.js.map