Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(workflow_runs): handle missing workflow run gracefully

Steven Enamakel374a94ef1e98
diff --git a/crates/openhuman-core/src/agent/orchestration/workflow_runs/ops.rs b/crates/openhuman-core/src/agent/orchestration/workflow_runs/ops.rs
index 191103adb1..9f667c7ef6 100644
--- a/crates/openhuman-core/src/agent/orchestration/workflow_runs/ops.rs
+++ b/crates/openhuman-core/src/agent/orchestration/workflow_runs/ops.rs
@@ -31,7 +31,7 @@ pub fn builtin_definitions() -> Vec<WorkflowDefinition> {
description: "Decompose a question into angles, research them in parallel, cross-check the claims with a critic, then synthesize a cited report. Read-only.".to_owned(),
phases: vec![
WorkflowPhase { name: "decompose".into(), description: "Break the question into independent research angles.".into(), agent_ids: vec!["planner".into()], depends_on: vec![] },
- WorkflowPhase { name: "research".into(), description: "Research each angle in parallel.".into(), agent_ids: vec!["orchestrator".into(), "orchestrator".into()], depends_on: vec!["decompose".into()] },
+ WorkflowPhase { name: "research".into(), description: "Research each angle in parallel.".into(), agent_ids: vec!["planner".into(), "planner".into()], depends_on: vec!["decompose".into()] },
WorkflowPhase { name: "cross_check".into(), description: "Adversarially cross-check the gathered claims.".into(), agent_ids: vec!["critic".into()], depends_on: vec!["research".into()] },
WorkflowPhase { name: "synthesize".into(), description: "Synthesize a single cited report.".into(), agent_ids: vec!["summarizer".into()], depends_on: vec!["cross_check".into()] },
],