PLUGIN
Report10 Downloads
"We have chatgpt at home" This is a work in progress!
Project Files
src / config.ts
import { createConfigSchematics } from "@lmstudio/sdk";
// This file contains the definition of configuration schematics for your plugin.
export const configSchematics = createConfigSchematics()
.field(
"model",
"select",
{
displayName: "Model",
subtitle: "Select the GPT-5 model to use for generation.",
options: [
{ value: "gpt-5", displayName: "GPT-5" },
],
},
"gpt-5",
)
.field(
"verbosity",
"select",
{
displayName: "Verbosity",
subtitle: "Control output length and detail level.",
options: [
{ value: "low", displayName: "Low (terse)" },
{ value: "medium", displayName: "Medium (balanced)" },
{ value: "high", displayName: "High (verbose)" },
],
},
"medium",
)
.field(
"reasoningEffort",
"select",
{
displayName: "Reasoning Effort",
subtitle: "Control the model's reasoning depth.",
options: [
{ value: "low", displayName: "Low" },
{ value: "medium", displayName: "Medium" },
{ value: "high", displayName: "High" },
],
},
"high",
)
.field(
"webSearch",
"select",
{
displayName: "Web Search",
subtitle: "Enable or disable web search capabilities.",
options: [
{ value: "on", displayName: "On" },
{ value: "off", displayName: "Off" },
],
},
"on",
)
.build();
export const globalConfigSchematics = createConfigSchematics()
.field(
"openaiApiKey",
"string",
{
displayName: "OpenAI API Key",
isProtected: true,
placeholder: "sk-...",
},
"",
)
.build();
src / config.ts
import { createConfigSchematics } from "@lmstudio/sdk";
// This file contains the definition of configuration schematics for your plugin.
export const configSchematics = createConfigSchematics()
.field(
"model",
"select",
{
displayName: "Model",
subtitle: "Select the GPT-5 model to use for generation.",
options: [
{ value: "gpt-5", displayName: "GPT-5" },
],
},
"gpt-5",
)
.field(
"verbosity",
"select",
{
displayName: "Verbosity",
subtitle: "Control output length and detail level.",
options: [
{ value: "low", displayName: "Low (terse)" },
{ value: "medium", displayName: "Medium (balanced)" },
{ value: "high", displayName: "High (verbose)" },
],
},
"medium",
)
.field(
"reasoningEffort",
"select",
{
displayName: "Reasoning Effort",
subtitle: "Control the model's reasoning depth.",
options: [
{ value: "low", displayName: "Low" },
{ value: "medium", displayName: "Medium" },
{ value: "high", displayName: "High" },
],
},
"high",
)
.field(
"webSearch",
"select",
{
displayName: "Web Search",
subtitle: "Enable or disable web search capabilities.",
options: [
{ value: "on", displayName: "On" },
{ value: "off", displayName: "Off" },
],
},
"on",
)
.build();
export const globalConfigSchematics = createConfigSchematics()
.field(
"openaiApiKey",
"string",
{
displayName: "OpenAI API Key",
isProtected: true,
placeholder: "sk-...",
},
"",
)
.build();