Skip to content

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

refactor(session_host): remove unused re-export of committed_tool_calls

Steven Enamakel326f276284c3
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 72ee586b8a..508a712e07 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs
@@ -8,8 +8,6 @@
mod memory_ingest;
mod permanent;
-pub(super) use memory_ingest::committed_tool_calls;
-
use std::sync::Arc;
use anyhow::Result;
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 22ff5e0653..46bd0a81e3 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
@@ -43,9 +43,7 @@ impl OpenHumanTurnPrelude {
/// The tool calls of the last exchange in `history` (everything after the
/// final user message), by name and id.
-pub(in crate::agent::session_host) fn committed_tool_calls(
- history: &[Message],
-) -> Vec<crate::core::events::ConversationToolCall> {
+fn committed_tool_calls(history: &[Message]) -> Vec<crate::core::events::ConversationToolCall> {
let start = history
.iter()
.rposition(|message| matches!(message, Message::User(_)))