@n8n/n8n-nodes-langchain
Version:
34 lines • 1.01 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.modelRLC = void 0;
const model_builder_hints_1 = require("../../../../utils/model-builder-hints");
const modelRLC = (searchListMethod) => ({
displayName: 'Model',
name: 'modelId',
builderHint: { propertyHint: model_builder_hints_1.MODEL_SELECTION_HINT },
type: 'resourceLocator',
default: { mode: 'list', value: '' },
typeOptions: {
loadOptionsDependsOn: ['operation', 'resource'],
},
required: true,
modes: [
{
displayName: 'From List',
name: 'list',
type: 'list',
typeOptions: {
searchListMethod,
searchable: true,
},
},
{
displayName: 'ID',
name: 'id',
type: 'string',
placeholder: 'e.g. models/gemini-3.1-flash-lite',
},
],
});
exports.modelRLC = modelRLC;
//# sourceMappingURL=descriptions.js.map