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

Class RuntimeContext

workflow/runtime/runtime_context.py:16–30  ·  view source on GitHub ↗

Container for runtime-wide dependencies required by GraphExecutor.

Source from the content-addressed store, hash-verified

14
15@dataclass
16class RuntimeContext:
17 """Container for runtime-wide dependencies required by GraphExecutor."""
18
19 tool_manager: ToolManager
20 function_manager: FunctionManager
21 edge_processor_function_manager: FunctionManager
22 logger: WorkflowLogger
23 log_manager: LogManager
24 token_tracker: TokenTracker
25 attachment_store: AttachmentStore
26 code_workspace: Path
27 global_state: Dict[str, Any] = field(default_factory=dict)
28 cycle_manager: Optional[Any] = None # Late-bound by GraphManager
29 session_id: Optional[str] = None
30 workspace_hook: Optional[Any] = None

Callers 1

buildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected