Skip to content

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

fix(subagent_host): use SessionStoreProvider for in-memory transcripts

Steven Enamakel64ab1d57fc26
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph/transcript.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph/transcript.rs
index c778d15416..3285aa4a2c 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph/transcript.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph/transcript.rs
@@ -81,9 +81,11 @@ pub(super) fn subagent_transcripts_in(
"[subagent_host:graph] no turn-tree store and no carried context in SaaS mode; \
transcript kept in memory only"
);
- return tinyagents_session::port::InMemorySessionStores::new()
- .for_agent(fallback)
- .transcripts;
+ return tinyagents_session::port::SessionStoreProvider::for_agent(
+ &tinyagents_session::port::InMemorySessionStores::new(),
+ fallback,
+ )
+ .transcripts;
}
let key = crate::agent::session_store::agent_key_for(
&crate::core::runtime::Tenant::default(),