This commit is contained in:
Brent Larsen
2026-09-04 22:54:50 -05:00
parent a0bd113695
commit 5069f75171
15 changed files with 609 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"llm": {
"model": "experimental-model",
"reasoning": null,
"nested": {
"extra": true
}
},
"run": {
"label": "experiment",
"enabled": true
}
}
+13
View File
@@ -0,0 +1,13 @@
{
"llm": {
"host": "remote-box",
"model": "remote-model",
"nested": {
"replace": "remote"
},
"list": ["remote"]
},
"run": {
"label": "remote"
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"beta-demo": {
"module": "beta",
"builder": "buildBeta",
"params": ["demo"]
}
}
+3
View File
@@ -0,0 +1,3 @@
{
"prefix": "alpha"
}
+12
View File
@@ -0,0 +1,12 @@
{
"client": "lm-studio",
"host": "localhost",
"port": 1234,
"model": "local-model",
"reasoning": true,
"nested": {
"keep": "default",
"replace": "default"
},
"list": ["default"]
}
+4
View File
@@ -0,0 +1,4 @@
{
"alpha": "./tree/alpha/index.js",
"beta": "./tree/beta/index.js"
}
+8
View File
@@ -0,0 +1,8 @@
module.exports = utils => {
function loadAlpha(value) {
const prefix = utils.getSettings("input").prefix;
return utils.buildNode(`${prefix}:${value}`);
}
return { loadAlpha };
};
+9
View File
@@ -0,0 +1,9 @@
module.exports = utils => {
function buildBeta(value) {
const alpha = utils.loadModule("alpha");
const source = alpha.loadAlpha(value);
return utils.buildNode(`beta:${source.payload}`, { alpha: source });
}
return { buildBeta };
};