Skip to content

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

fix(tinyagents): use harness EarlyExit type in turn finalize

Steven Enamakel0e370dadfed5
diff --git a/crates/openhuman-core/src/agent/tinyagents/turn_run_finalize.rs b/crates/openhuman-core/src/agent/tinyagents/turn_run_finalize.rs
index 8b9e310905..bd7174bc2f 100644
--- a/crates/openhuman-core/src/agent/tinyagents/turn_run_finalize.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/turn_run_finalize.rs
@@ -39,7 +39,7 @@ pub(super) async fn finalize_turn_outcome(
prompt_cache_guard: &PromptCacheGuardMiddleware,
turn_completed_sink: Option<Sender<AgentProgress>>,
bridge: Option<Arc<OpenhumanEventBridge>>,
- early_exit: Option<tinyagents_runtime::turn_driver::EarlyExit>,
+ early_exit: Option<tinyagents_harness::tool::EarlyExit>,
halt_summary: &HaltSummarySlot,
wrap_up_fired: &Option<Arc<tinyagents_harness::middleware::FinalCallWrapUpMiddleware>>,
run_instance_id: u64,