Skip to content

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

fix(core): update memory ingest to use OpenHumanTurnPrelude

Steven Enamakelda9ccc4e4830
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs b/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs
index 3d8dc9a552..31d3215af9 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs
@@ -3,10 +3,10 @@
use tinyagents_runtime::CommitReceipt;
use tinyinference_llm::message::Message;
-use super::OpenHumanSessionHost;
+use super::OpenHumanTurnPrelude;
use crate::agent::tinyagents::host::OpenHumanRunContext;
-impl OpenHumanSessionHost {
+impl OpenHumanTurnPrelude {
/// Hands a committed, user-authored, threaded turn to memory's
/// conversation ingestion (`DomainEvent::ConversationTurnCommitted`).
/// Tool calls travel by name and id only.
@@ -43,7 +43,7 @@ impl OpenHumanSessionHost {
/// The tool calls of the last exchange in `history` (everything after the
/// final user message), by name and id.
-pub(super) fn committed_tool_calls(
+pub(in crate::agent::session_host) fn committed_tool_calls(
history: &[Message],
) -> Vec<crate::core::events::ConversationToolCall> {
let start = history