Skip to content

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

fix(harness): handle missing fork context gracefully

Steven Enamakelf22ad5e1205a
diff --git a/crates/openhuman-core/src/agent/harness/fork_context.rs b/crates/openhuman-core/src/agent/harness/fork_context.rs
index 897c991510..bd6c5661ba 100644
--- a/crates/openhuman-core/src/agent/harness/fork_context.rs
+++ b/crates/openhuman-core/src/agent/harness/fork_context.rs
@@ -173,7 +173,6 @@ tokio::task_local! {
/// tool invocation that happens outside an agent turn (e.g. CLI/RPC
/// direct tool calls); `spawn_subagent` rejects in that case.
pub static PARENT_CONTEXT: ParentExecutionContext;
-
}
/// Returns a clone of the current parent execution context, if one is set.