Forked from
Forked from
src / config.ts
import { createConfigSchematics } from "@lmstudio/sdk";
/** These fields are rendered by LM Studio in the plugin panel. */
export const configSchematics = createConfigSchematics()
.field(
"roundtableTemperature",
"numeric",
{
min: 0,
max: 2,
displayName: "Roundtable Temperature",
subtitle: "Higher values make the characters' opinions more varied and creative.",
slider: { min: 0, max: 2, step: 0.05 },
},
0.7,
)
.field(
"parallelAgents",
"numeric",
{
int: true,
min: 1,
max: 8,
displayName: "Parallel Agents",
subtitle: "Maximum number of characters that speak at the same time. Lower this when VRAM is tight.",
slider: { min: 1, max: 8, step: 1 },
},
3,
)
.field(
"maxTokensPerCharacter",
"numeric",
{
int: true,
min: 128,
max: 4096,
displayName: "Response Length Limit",
subtitle: "Maximum tokens generated by each character in a roundtable.",
slider: { min: 128, max: 4096, step: 128 },
},
1024,
)
.field(
"modelIdentifier",
"string",
{
displayName: "LM Studio Model ID",
subtitle: "Leave as local-model unless your server requires a specific loaded model ID.",
placeholder: "local-model",
},
"local-model",
)
.build();
src / config.ts
import { createConfigSchematics } from "@lmstudio/sdk";
/** These fields are rendered by LM Studio in the plugin panel. */
export const configSchematics = createConfigSchematics()
.field(
"roundtableTemperature",
"numeric",
{
min: 0,
max: 2,
displayName: "Roundtable Temperature",
subtitle: "Higher values make the characters' opinions more varied and creative.",
slider: { min: 0, max: 2, step: 0.05 },
},
0.7,
)
.field(
"parallelAgents",
"numeric",
{
int: true,
min: 1,
max: 8,
displayName: "Parallel Agents",
subtitle: "Maximum number of characters that speak at the same time. Lower this when VRAM is tight.",
slider: { min: 1, max: 8, step: 1 },
},
3,
)
.field(
"maxTokensPerCharacter",
"numeric",
{
int: true,
min: 128,
max: 4096,
displayName: "Response Length Limit",
subtitle: "Maximum tokens generated by each character in a roundtable.",
slider: { min: 128, max: 4096, step: 128 },
},
1024,
)
.field(
"modelIdentifier",
"string",
{
displayName: "LM Studio Model ID",
subtitle: "Leave as local-model unless your server requires a specific loaded model ID.",
placeholder: "local-model",
},
"local-model",
)
.build();