MCPcopy Create free account
hub / github.com/GCWing/BitFun / init_function_agents

Function init_function_agents

src/apps/desktop/src/lib.rs:1459–1469  ·  view source on GitHub ↗
(ai_client_factory: Arc<AIClientFactory>)

Source from the content-addressed store, hash-verified

1457}
1458
1459async fn init_function_agents(ai_client_factory: Arc<AIClientFactory>) -> anyhow::Result<()> {
1460 let _ = bitfun_core::function_agents::git_func_agent::GitFunctionAgent::new(
1461 ai_client_factory.clone(),
1462 );
1463
1464 let _ = bitfun_core::function_agents::startchat_func_agent::StartchatFunctionAgent::new(
1465 ai_client_factory.clone(),
1466 );
1467
1468 Ok(())
1469}
1470
1471fn init_mcp_servers(app_handle: tauri::AppHandle) {
1472 tokio::spawn(async move {

Callers 1

runFunction · 0.85

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected