MCPcopy Create free account
hub / github.com/Louisym/MiniCC / execute_agent

Function execute_agent

rust/crates/tools/src/lib.rs:1343–1345  ·  view source on GitHub ↗
(input: AgentInput)

Source from the content-addressed store, hash-verified

1341const DEFAULT_AGENT_MAX_ITERATIONS: usize = 32;
1342
1343fn execute_agent(input: AgentInput) -> Result<AgentOutput, String> {
1344 execute_agent_with_spawn(input, spawn_agent_job)
1345}
1346
1347fn execute_agent_with_spawn<F>(input: AgentInput, spawn_fn: F) -> Result<AgentOutput, String>
1348where

Callers 1

run_agentFunction · 0.85

Calls 1

execute_agent_with_spawnFunction · 0.85

Tested by

no test coverage detected