Skip to content

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

refactor(openhuman-embed): remove unused NamedLearningSink wrapper

Steven Enamakel57f396db81a0
diff --git a/crates/openhuman-embed/src/runtime/live_hooks.rs b/crates/openhuman-embed/src/runtime/live_hooks.rs
index 58d39ace57..0de2d59a6c 100644
--- a/crates/openhuman-embed/src/runtime/live_hooks.rs
+++ b/crates/openhuman-embed/src/runtime/live_hooks.rs
@@ -5,13 +5,6 @@ use crate::seams::{
};
use std::sync::Arc;
-pub(super) struct NamedLearningSink(pub String, pub Arc<dyn LearningSink>);
-#[async_trait::async_trait]
-impl LearningSink for NamedLearningSink {
- async fn on_turn_complete(&self, context: &TurnSummary) -> anyhow::Result<()> {
- self.1.on_turn_complete(context).await
- }
-}
pub(super) struct NamedToolHook(pub String, pub Arc<dyn ToolHook<OpenHumanRunContext>>);
#[async_trait::async_trait]
impl ToolHook<OpenHumanRunContext> for NamedToolHook {