MCPcopy Index your code
hub / github.com/AI45Lab/Code / agent_runs_a_single_step

Function agent_runs_a_single_step

core/src/orchestration/workflow.rs:367–373  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

365
366 #[tokio::test]
367 async fn agent_runs_a_single_step() {
368 let wf = Workflow::builder(Arc::new(EchoExecutor::new())).build();
369 let out = wf.agent(spec("a", "explore", "hello")).await;
370 assert_eq!(out.task_id, "a");
371 assert_eq!(out.output, "hello");
372 assert!(out.success);
373 }
374
375 #[tokio::test]
376 async fn parallel_preserves_order_and_isolates_failure() {

Callers

nothing calls this directly

Calls 3

agentMethod · 0.80
specFunction · 0.70
buildMethod · 0.45

Tested by

no test coverage detected