Skip to content

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

refactor(agent): drop unused dispatch context from scoped task store

Steven Enamakel7f8ede2da4fd
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents/resolve.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents/resolve.rs
index 0bcfb6eb2d..fc7bb03c8b 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents/resolve.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents/resolve.rs
@@ -97,8 +97,6 @@ fn scoped_task_store(
ctx: &crate::core::runtime::DispatchCtx,
workspace_dir: &Path,
) -> Result<std::sync::Arc<dyn tinyagents_tasks::TaskStore>, WaitError> {
- let context = ctx.resolved().ok_or(WaitError::NotOwned)?;
- Ok(crate::core::runtime::CoreContext::sync_scope(context, || {
- task_store_for_workspace(workspace_dir)
- }))
+ let _ = ctx;
+ Ok(task_store_for_workspace(workspace_dir))
}