The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(tinyagents): expose classified stop cause from repeated failure middleware
Steven Enamakel6745d57d130a
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rsindex b0ff5b9dbb..0d93f379b6 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rs@@ -127,6 +127,14 @@ impl RepeatedToolFailureMiddleware {}}+ /// Return typed classified facts only while this middleware still owns+ /// the halt note recorded for the current run.+ pub(crate) fn current_classified_cause(+ &self,+ ) -> Option<tinyagents_harness::no_progress::ClassifiedStopCause> {+ self.stop.current_classified_cause()+ }+/// Judge each call's side effect from the registered tools' own/// declarations ([`tinyagents_harness::middleware::tool_sets_lookup`]) rather than/// from tool names alone.