Create a basic belief node that can be used in further stages to create inferred belief and be inputs for other nodes. #32

Merged
9828273 merged 12 commits from feat/basic-belief-nodes into demo 2026-01-06 14:29:15 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 9d4f10213e - Show all commits

View File

@@ -97,5 +97,5 @@ export const NodesInPhase = {
start: () => false, start: () => false,
end: () => false, end: () => false,
phase: () => false, phase: () => false,
// basic_belief: () => false, basic_belief: () => false,
} }

View File

@@ -96,7 +96,7 @@ export function PhaseReduce(node: Node, nodes: Node[]) {
console.warn(`No reducer found for node type ${type}`); console.warn(`No reducer found for node type ${type}`);
result[type + "s"] = []; result[type + "s"] = [];
} else { } else {
result[type + "s"] = typedChildren.map((child) => reducer(child, nodes)); result[type + "s"] = typedChildren.map((child) => reducer(child as any, nodes));
} }
}); });