Skip to content

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

fix(runtime_session): narrow visibility of ensure_runtime_session

Steven Enamakel54efb20e1404
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 e31e694491..45b760bab6 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs
@@ -1414,7 +1414,7 @@ impl OpenHumanSessionHost {
Ok(outcome.output.unwrap_or_default())
}
- fn ensure_runtime_session(&mut self) -> Result<()> {
+ pub(in crate::agent::session_host) fn ensure_runtime_session(&mut self) -> Result<()> {
if self.runtime_session.is_some() {
return Ok(());
}