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

Class EdgeLink

entity/configs/node/node.py:38–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37@dataclass
38class EdgeLink:
39 target: "Node"
40 config: Dict[str, Any] = field(default_factory=dict)
41 trigger: bool = True
42 condition: str = "true"
43 condition_config: EdgeConditionConfig | None = None
44 condition_type: str | None = None
45 condition_metadata: Dict[str, Any] = field(default_factory=dict)
46 triggered: bool = False
47 carry_data: bool = True
48 keep_message: bool = False
49 clear_context: bool = False
50 clear_kept_context: bool = False
51 condition_manager: Any = None
52 process_config: EdgeProcessorConfig | None = None
53 process_type: str | None = None
54 process_metadata: Dict[str, Any] = field(default_factory=dict)
55 payload_processor: Any = None
56 dynamic_config: DynamicEdgeConfig | None = None
57
58 def __post_init__(self) -> None:
59 self.config = dict(self.config or {})
60
61
62@dataclass

Callers 2

_execute_nodeMethod · 0.90
add_successorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected