Skip to content

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

test(agent): update learning sink signature in host overrides tests

Steven Enamakeld91f155d84ff
diff --git a/crates/openhuman-core/src/agent/host_overrides_tests.rs b/crates/openhuman-core/src/agent/host_overrides_tests.rs
index 8d88a3494b..09103a6987 100644
--- a/crates/openhuman-core/src/agent/host_overrides_tests.rs
+++ b/crates/openhuman-core/src/agent/host_overrides_tests.rs
@@ -4,7 +4,10 @@ use async_trait::async_trait;
struct Hook;
#[async_trait]
impl tinyagents_harness::host::LearningSink for Hook {
- async fn on_turn_complete(&self, _: &tinyagents_harness::host::TurnSummary) -> anyhow::Result<()> {
+ async fn on_turn_complete(
+ &self,
+ _: &tinyagents_harness::host::TurnSummary,
+ ) -> Result<(), tinyagents_session::TinyAgentsError> {
Ok(())
}
}