From 84ec5fe7b8cdc3eea97bf47f1954dc5e20f00535 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Wed, 24 Jun 2026 12:13:55 -0600 Subject: [PATCH] fix: apply bootstrapping of functions at startup to fix edge case --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 4453763..218bdb2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -137,7 +137,10 @@ async fn main() -> Result<()> { ) .await?, ); - let ctx = RequestContext::bootstrap(app_state, working_mode, info_flag)?; + let mut ctx = RequestContext::bootstrap(app_state, working_mode, info_flag)?; + let app_config = Arc::clone(&ctx.app.config); + ctx.bootstrap_tools(&app_config, start_mcp_servers, abort_signal.clone()) + .await?; { let app = &*ctx.app.config;