Skip to content

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

fix(tinyagents): pass dispatch context when marking subagent collected

Steven Enamakel7ecd94441f10
diff --git a/crates/openhuman-core/src/agent/tinyagents/subagent_projection.rs b/crates/openhuman-core/src/agent/tinyagents/subagent_projection.rs
index b027f2dda7..ad67ebe3ec 100644
--- a/crates/openhuman-core/src/agent/tinyagents/subagent_projection.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/subagent_projection.rs
@@ -186,7 +186,8 @@ fn project_wait_subagent(
match status {
"completed" => {
- crate::agent::orchestration::background_completions::mark_collected(
+ crate::agent::orchestration::background_completions::mark_collected_ctx(
+ &parent.data.dispatch_ctx(),
&parent_ctx.workspace_dir,
&task_id,
);