src / config.ts
// src/config.ts
import { createConfigSchematics } from "@lmstudio/sdk";
import * as path from "path";
export const configSchematics = createConfigSchematics()
.field(
"model",
"string",
{
displayName: "Model-name",
subtitle: "LLM AI model ID (for summary generation). Not yet ",
placeholder: "enter model name"
},
"qwen3.5-9b-sushi-coder-rl" // dummy - not used yet anyway
)
// .field(
// "thinking",
/// "string",
// {
// displayName: "Think or no_think",
// description: "Selects the type of thinking for the AI.",
// options: [
// { displayName: "Think", value: "<think>" },
// { displayName: "No think", value: "/no_think" },
// ],
// },
// "/no_think"
// )
.field(
"addedPath",
"string",
{
displayName: "add that subpath to Base Path of LMS",
subtitle:
"Path to conversation dir, default/extraPath. Leave empty if not use sub dirs. w/o slash",
placeholder: ""
},
"" // empty: Пустое значение — плагин сам определит путь
)
.field(
"allTerms",
"string",
{
displayName: "all Summary Terms with separator ;",
subtitle:
"List of words/terms for activating Summary func. All of them are triggers to call Summary of the chat with name as a string after it.",
placeholder: "enter something;---;合計;$$$;;;list of terms"
},
"summa:" // summa: default command for 1st time with empty field
)
.build();
//.