OpenBMB/ChatDev · error · ValueError
Unsupported node type: {node.type}
Error message
Unsupported node type: {node.type} What it means
Error "Unsupported node type: {node.type}" thrown in OpenBMB/ChatDev.
Source
Thrown at workflow/graph.py:667
log_manager=self.log_manager,
)
pseudo_link.condition_manager = build_edge_condition_manager(pseudo_condition, pseudo_context, self._get_execution_context())
pseudo_link.condition = pseudo_condition.display_label()
pseudo_link.condition_type = pseudo_condition.type
for output_msg in output_messages:
self._process_edge_output(pseudo_link, output_msg, node)
def _process_result(self, node: Node, input_payload: List[Message]) -> List[Message]:
"""Process a single input result using strategy pattern executors.
This method delegates to specific node executors based on node type.
Returns a list of messages (maybe empty if node suppresses output).
"""
if not self.node_executors:
raise RuntimeError("Node executors not initialized. Call _build_memories_and_thinking() first.")
if node.type not in self.node_executors:
raise ValueError(f"Unsupported node type: {node.type}")
executor = self.node_executors[node.type]
hook = self.runtime_context.workspace_hook
workspace = self.runtime_context.code_workspace
if hook:
try:
hook.before_node(node, workspace)
except Exception:
self.log_manager.warning("workspace hook before_node failed for %s", node.id)
success = False
try:
result = executor.execute(node, input_payload)
success = True
return result
finally:
if hook:
try:
hook.after_node(node, workspace, success=success)View on GitHub (pinned to 4fb2db0ea9)
When it happens
Trigger: Thrown at workflow/graph.py:667 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of OpenBMB/ChatDev@4fb2db0ea9 (2026-08-27).
Data as JSON: /api/errors/f21c3c660f3b267c.
Report an issue: GitHub.