{"record":{"id":"6f06dd1de5d4cc39","repo":"OpenBMB/ChatDev","slug":"unsupported-node-type-node-type-6f06dd","errorCode":null,"errorMessage":"Unsupported node type: {node_type}","messagePattern":"Unsupported node type: (.+?)","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"runtime/node/executor/factory.py","lineNumber":56,"sourceCode":"    ) -> NodeExecutor:\n        \"\"\"Create an executor for the requested node type.\n        \n        Args:\n            node_type: Registered node type name\n            context: Shared execution context\n            subgraphs: Mapping of subgraph nodes (used by Subgraph executors)\n            \n        Returns:\n            Executor instance for the requested type\n            \n        Raises:\n            ValueError: If the node type is not supported\n        \"\"\"\n        subgraphs = subgraphs or {}\n        \n        registrations = iter_node_registrations()\n        if node_type not in registrations:\n            raise ValueError(f\"Unsupported node type: {node_type}\")\n        return registrations[node_type].build_executor(context, subgraphs=subgraphs)\n","sourceCodeStart":38,"sourceCodeEnd":58,"githubUrl":"https://github.com/OpenBMB/ChatDev/blob/4fb2db0ea90375ce1059f44fe03ffbd191a7a169/runtime/node/executor/factory.py#L38-L58","documentation":"create_executor looks up node_type in the registry of node registrations (iter_node_registrations()); an unknown type has no builder and raises ValueError.","triggerScenarios":"Calling create_executor with node.node_type not among registered types, e.g. a typo like 'agnt' or a custom type whose registration module was never imported.","commonSituations":"Loading a saved workflow from a newer runtime version with new node types into an older runtime; custom node plugins not registered at startup; serialized typo in node_type.","solutions":["Print sorted(iter_node_registrations().keys()) and fix node_type to a registered value","Import/register your custom node registration before creating executors","Upgrade the runtime to the version that supports the node type"],"exampleFix":"# before\ncreate_executor(ctx, node_with_type('Agnet'))\n\n# after\ncreate_executor(ctx, node_with_type('agent'))","handlingStrategy":"validation","validationCode":"from runtime.node.executor.factory import iter_node_registrations\nif node.node_type not in iter_node_registrations():\n    raise ValueError(f'unknown type {node.node_type}; known: {sorted(iter_node_registrations())}')","typeGuard":"def is_supported_node_type(t: str) -> bool:\n    return t in iter_node_registrations()","tryCatchPattern":null,"preventionTips":["Validate workflow node types at load time","Import custom node registration modules at app startup"],"tags":["node-type","factory","registry"],"backgroundTag":"unknown-node-type","analyzedSha":"4fb2db0ea90375ce1059f44fe03ffbd191a7a169","analyzedAt":"2026-08-27T14:35:29.622Z","schemaVersion":2},"datasetVersion":"2026-08-27T19:17:21.184Z"}