{ "name": "verify-sdcpp-model-load-idempotent", "nodes": [ { "id": "n1", "name": "Trigger", "type": "click-trigger", "position": { "x": 0, "y": 0 }, "config": {} }, { "id": "srv", "name": "SD.cpp Server", "type": "configurator", "position": { "x": -260, "y": 100 }, "config": { "label": "SD.cpp Server", "settings": [ { "name": "serverUrl", "value": "http://mulan:8077" }, { "name": "credentialId", "value": "cred_62748b40-e9d1-4659-b175-6dbc691cc0b1" } ] } }, { "id": "pick", "name": "Model", "type": "sdcpp-model", "position": { "x": -260, "y": 220 }, "config": { "source": "loaded" } }, { "id": "load", "name": "Load", "type": "sdcpp-model-load", "position": { "x": 0, "y": 320 }, "config": {} } ], "connections": [ { "sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "load", "targetInput": "data" }, { "sourceNodeId": "srv", "sourceOutput": "main", "targetNodeId": "pick", "targetInput": "config" }, { "sourceNodeId": "srv", "sourceOutput": "main", "targetNodeId": "load", "targetInput": "config" }, { "sourceNodeId": "pick", "sourceOutput": "main", "targetNodeId": "load", "targetInput": "config" } ], "expectStatus": "completed", "expect": { "load": { "status": "completed", "output": { "alreadyLoaded": true, "loaded": false } } } }