Skip to content

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

fix(agent): handle empty scout run results gracefully

Steven Enamakel0aacaf526955
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context/scout_run.rs b/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context/scout_run.rs
index 2f0a8ad444..0ae36ddcda 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context/scout_run.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context/scout_run.rs
@@ -463,7 +463,7 @@ pub(super) async fn run_context_scout_with_catalog_and_workspace(
thread_id: goal.thread_id.clone(),
goal_id: goal.goal_id.clone(),
status: goal.status.as_str().to_string(),
- goal: None,
+ goal: Some(crate::agent::goals::goal_to_value(&goal)),
});
}
Ok(None) => {