Forked from brius/web-search
Forked from brius/web-search
src / config.ts
import { createConfigSchematics } from "@lmstudio/sdk";
export const configSchematics = createConfigSchematics()
.field(
"pageSize",
"numeric",
{
displayName: "Search Results Per Page",
min: 1,
max: 10,
int: true,
slider: {
step: 1,
min: 1,
max: 10,
},
},
5,
)
.field(
"contentLimit",
"numeric",
{
displayName: "Max Content",
subtitle: "Maximum text content size in chars returned by the Visit Website tool ",
min: -1,
max: 50_000,
int: true,
},
8000,
)
.build();
src / config.ts
import { createConfigSchematics } from "@lmstudio/sdk";
export const configSchematics = createConfigSchematics()
.field(
"pageSize",
"numeric",
{
displayName: "Search Results Per Page",
min: 1,
max: 10,
int: true,
slider: {
step: 1,
min: 1,
max: 10,
},
},
5,
)
.field(
"contentLimit",
"numeric",
{
displayName: "Max Content",
subtitle: "Maximum text content size in chars returned by the Visit Website tool ",
min: -1,
max: 50_000,
int: true,
},
8000,
)
.build();