src / config.ts
import { createConfigSchematics } from "@lmstudio/sdk";
export const configSchematics = createConfigSchematics()
.field(
"maxMessagesPerConversation",
"numeric",
{
displayName: "Max Messages Per Conversation",
},
0
)
.field(
"maxImagesPerConversation",
"numeric",
{
displayName: "Max Images Per Conversation",
},
0
)
.field(
"autoSaveImages",
"boolean",
{
displayName: "Auto-Save Images to Disk",
},
true
)
.build();