Skip to content

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

refactor(memory): adjust logged_channel signature

Steven Enamakel41762176ac0b
diff --git a/crates/openhuman-core/src/memory/lifecycle/session_hooks.rs b/crates/openhuman-core/src/memory/lifecycle/session_hooks.rs
index fab711a40c..b53916edd9 100644
--- a/crates/openhuman-core/src/memory/lifecycle/session_hooks.rs
+++ b/crates/openhuman-core/src/memory/lifecycle/session_hooks.rs
@@ -42,7 +42,9 @@ pub(super) struct PendingMemoryTurn {
/// The provider channel that owns a logged conversation, if this turn came
/// from an external channel. Event-context labels such as `cron`, `voice`, and
/// `mcp_server` are not channel owners.
-fn logged_channel(origin: Option<&crate::security::turn_origin::AgentTurnOrigin>) -> Option<String> {
+fn logged_channel(
+ origin: Option<&crate::security::turn_origin::AgentTurnOrigin>,
+) -> Option<String> {
let Some(crate::security::turn_origin::AgentTurnOrigin::ExternalChannel {
channel,
message_id,