test: Added integration tests for the sub-agent spawning system and inter-agent communication mechanisms
This commit is contained in:
1 parent
8d02782de6
commit
e23e5f9f7b
6 files changed
+640
-79
No files matched your search
@@ -39,6 +39,20 @@ pub struct AppState {
|
||||
}
|
||||
|
||||
impl AppState {
|
||||
#[cfg(test)]
|
||||
pub fn test_default() -> Self {
|
||||
Self {
|
||||
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(),
|
||||
}
|
||||
}
|
||||
|
||||
pub async fn init(
|
||||
config: Arc<AppConfig>,
|
||||
log_path: Option<PathBuf>,
|
||||
|
||||
Reference in new issue
Block a user