( widget: Widget, fieldName: string )
| 216 | } |
| 217 | |
| 218 | export 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected