()
| 7 | pub use bitfun_core::agentic::system::AgenticSystem; |
| 8 | |
| 9 | pub async fn init_agentic_system() -> Result<AgenticSystem> { |
| 10 | let system = bitfun_core::agentic::system::init_agentic_system() |
| 11 | .await |
| 12 | .context("Failed to initialize agentic system")?; |
| 13 | system |
| 14 | .coordinator |
| 15 | .set_terminal_port(CoreRuntimeServicesProvider::terminal_port()); |
| 16 | system |
| 17 | .coordinator |
| 18 | .set_remote_exec_port(CoreRuntimeServicesProvider::remote_exec_port()); |
| 19 | Ok(system) |
| 20 | } |
| 21 | |
| 22 | pub async fn init_agentic_system_for_cli() -> Result<AgenticSystem> { |
| 23 | initialize_global_config() |
no test coverage detected