Skip to content

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

refactor(session_host): condense native target binding comment

Steven Enamakel6d59cfef3131
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session.rs b/crates/openhuman-core/src/agent/session_host/runtime_session.rs
index 10c04d0cb1..a84197eb09 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs
@@ -1096,10 +1096,8 @@ impl OpenHumanSessionHost {
}
},
));
- // Bind the native target before any turn so both durable thread
- // resumes and cold latest-agent resumes can read their recorded tool
- // declarations before host admission. The hook supplies the same
- // locator and target; unthreaded runs retain their fresh write stem.
+ // Bind the hook's native target early so both thread and latest-agent
+ // resumes can read recorded declarations before host admission.
let mut builder = SessionBuilder::new(driver)
.codec(Arc::new(OpenHumanTranscriptCodec))
.hooks(hooks)