Skip to content

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

fix(agent): stop hooks from firing on empty assistant turns

Steven Enamakeleba2f67257ac
diff --git a/crates/openhuman-core/src/agent/stop_hooks.rs b/crates/openhuman-core/src/agent/stop_hooks.rs
index 5e5734f8bb..920a30ff72 100644
--- a/crates/openhuman-core/src/agent/stop_hooks.rs
+++ b/crates/openhuman-core/src/agent/stop_hooks.rs
@@ -21,7 +21,6 @@
pub use crate::agent::cost::TurnCost;
use async_trait::async_trait;
-use std::sync::Arc;
use tinyagents_harness::middleware::{StopDecision, StopHook, TurnState};