Skip to content

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

test(agent): update host overrides test hook to LearningSink

Steven Enamakelbf02c12347a0
diff --git a/crates/openhuman-core/src/agent/host_overrides_tests.rs b/crates/openhuman-core/src/agent/host_overrides_tests.rs
index 2c270420db..8d88a3494b 100644
--- a/crates/openhuman-core/src/agent/host_overrides_tests.rs
+++ b/crates/openhuman-core/src/agent/host_overrides_tests.rs
@@ -3,10 +3,7 @@ use async_trait::async_trait;
struct Hook;
#[async_trait]
-impl PostTurnHook for Hook {
- fn name(&self) -> &str {
- "local"
- }
+impl tinyagents_harness::host::LearningSink for Hook {
async fn on_turn_complete(&self, _: &tinyagents_harness::host::TurnSummary) -> anyhow::Result<()> {
Ok(())
}