test: Added integration tests for the sub-agent spawning system and inter-agent communication mechanisms

This commit is contained in:
2026-05-01 12:53:26 -06:00
parent 8d02782de6
commit e23e5f9f7b
6 changed files with 640 additions and 79 deletions
+1 -10
View File
@@ -2422,16 +2422,7 @@ mod tests {
}
fn default_app_state() -> Arc<AppState> {
Arc::new(AppState {
config: Arc::new(AppConfig::default()),
vault: Arc::new(Vault::default()),
mcp_factory: Arc::new(McpFactory::default()),
rag_cache: Arc::new(RagCache::default()),
mcp_config: None,
mcp_log_path: None,
mcp_registry: None,
functions: Functions::default(),
})
Arc::new(AppState::test_default())
}
fn create_test_ctx() -> RequestContext {