MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / execute

Method execute

workflow/executor/dag_executor.py:40–44  ·  view source on GitHub ↗

Execute the DAG workflow.

(self)

Source from the content-addressed store, hash-verified

38 self.parallel_executor = ParallelExecutor(log_manager, nodes)
39
40 def execute(self) -> None:
41 """Execute the DAG workflow."""
42 for layer_idx, layer_nodes in enumerate(self.layers):
43 self.log_manager.debug(f"Executing Layer {layer_idx} with nodes: {layer_nodes}")
44 self._execute_layer(layer_nodes)
45
46 def _execute_layer(self, layer_nodes: List[str]) -> None:
47 """Execute a single topological layer."""

Callers 2

runMethod · 0.95
_process_resultMethod · 0.45

Calls 2

_execute_layerMethod · 0.95
debugMethod · 0.45

Tested by

no test coverage detected