dist / config.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.configSchematics = void 0;
const sdk_1 = require("@lmstudio/sdk");
exports.configSchematics = (0, sdk_1.createConfigSchematics)()
    .field("maxWebLinks", "numeric", {
    displayName: "Max Web Links",
    subtitle: "Max links to extract from web pages",
    min: 0,
    int: true,
}, 40)
    .field("rerankerEnabled", "boolean", {
    displayName: "Enable Reranker",
    subtitle: "Enable Cross-Encoder Reranking (Higher quality, slower)",
}, true)
    .field("retrievalLimit", "numeric", {
    displayName: "Retrieval Limit",
    subtitle: "Number of chunks to inject into context",
    min: 1,
    int: true,
}, 5)
    .field("whisperBinaryPath", "string", {
    displayName: "Whisper Binary Path",
    subtitle: "Path to local whisper-cpp executable ('main' or 'whisper-cpp')",
}, "")
    .build();