Skip to content

model-preference

@fungi.computer/shiitake


@fungi.computer/shiitake / model-preference

const ModelPreferenceSchema: Struct<{ providerId: filter<filter<typeof String$>>>>; modelId: filter<filter<typeof String$>>>>; reasoning: optional<Literal<["minimal", "low", "medium", "high", "xhigh", "max"]>>; }>

Secret-free request to the host’s maintained model catalogue.


const parseModelPreference: (u, overrideOptions?) => { providerId: string; modelId: string; reasoning?: "minimal" | "low" | "medium" | "high" | "xhigh" | "max"; } | null

Decode the bounded client preference; availability remains model-owner policy.

unknown

ParseOptions

{ providerId: string; modelId: string; reasoning?: "minimal" | "low" | "medium" | "high" | "xhigh" | "max"; } | null


const parseModelPreferenceJson: (u, overrideOptions?) => { providerId: string; modelId: string; reasoning?: "minimal" | "low" | "medium" | "high" | "xhigh" | "max"; } | null

Decode the serialized preference with the same maintained schema.

unknown

ParseOptions

{ providerId: string; modelId: string; reasoning?: "minimal" | "low" | "medium" | "high" | "xhigh" | "max"; } | null


const modelPreferenceJsonSchema: JsonSchema7Root

JSON Schema generated from Shiitake’s maintained model preference schema.

Re-exports ModelPreference