Skip to content

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

fix(session): correct method call on prelude object

Steven Enamakelec6e75356823
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 e01bcaad26..27f5de9939 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs
@@ -1263,7 +1263,7 @@ impl OpenHumanSessionHost {
prelude.prepare(new_session).await.map_err(|error| {
tinyagents_runtime::RuntimeError::Driver(error.to_string())
})?;
- permanent::refresh_permanent_prefix(&prelude, &mut preparation, view.prefix);
+ prelude.refresh_permanent_prefix(&mut preparation, view.prefix);
if overrides.suppress_tools {
// One-off tool-less turn: must not become the
// thread's recorded tool list.