MCPcopy Create free account
hub / github.com/6174/comflowyspace / isCustomModelField

Function isCustomModelField

packages/common/types/model.types.ts:218–231  ·  view source on GitHub ↗
(
  widget: Widget,
  fieldName: string
)

Source from the content-addressed store, hash-verified

216}
217
218export function isCustomModelField(
219 widget: Widget,
220 fieldName: string
221): boolean {
222 if (widget.name === "CheckpointLoaderSimple") {
223 if (fieldName === "ckpt_name") {
224 return true
225 }
226 }
227 if (fieldName === "lora_name") {
228 return true
229 }
230 return false;
231}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected