Commit 01d2a78f
01d2a78f0a24Merged
Scott Nixon <[email protected]> ยท 9 months ago ยท 3 files ยท ~3 modified
Description
Register WaitHumanHandler in default registry (attractor-70u)
Details
- Commit
- 01d2a78f0a24
- Parent
- 0b5020aee281
crates/attractor-cli/src/main.rsmodifiedView file
@@ -204,7 +204,10 @@
204204
.await;205205
println!("Step limit: {}", max_steps);206206
207-
let executor = attractor_pipeline::PipelineExecutor::with_default_registry();207+
let interviewer = std::sync::Arc::new(attractor_pipeline::ConsoleInterviewer);208+
let registry =209+
attractor_pipeline::default_registry_with_interviewer(interviewer);210+
let executor = attractor_pipeline::PipelineExecutor::new(registry);208211
let result = executor.run_with_context(&graph, context).await?;209212
210213
println!("\nPipeline completed");crates/attractor-pipeline/src/handler.rsmodifiedView file
Loading diffโฆ
crates/attractor-pipeline/src/lib.rsmodifiedView file
Loading diffโฆ