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
test(tinyagents): add middleware failure and budget tests
Steven Enamakeled88dfee6a7b
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware_failure_effect_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware_failure_effect_tests.rsindex 7a56fef3ec..915b609618 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware_failure_effect_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware_failure_effect_tests.rs@@ -7,7 +7,7 @@//! naming the host OS and shell;//! - `use_skill` failures are counted per inner skill + tool.-use super::super::call_effect::{+use tinyagents_harness::middleware::{call_effect, dispatch_target, CallEffect, ToolEffectFacts, ToolFactsLookup,};use super::super::failure_policy::recovery_policy_with_effect;diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware_failure_policy_class_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware_failure_policy_class_tests.rsindex 11498d9f62..72274f40cf 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware_failure_policy_class_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware_failure_policy_class_tests.rs@@ -10,7 +10,7 @@//! reading alone.#[cfg(feature = "modules")]-use super::super::call_effect::{call_effect, tool_sets_lookup, CallEffect};+use tinyagents_harness::middleware::{call_effect, tool_sets_lookup, CallEffect};#[cfg(feature = "modules")]use super::super::failure_policy::recovery_policy_with_effect;use super::super::repeated_failure::recovery_policy;diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware_memory_budget_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware_memory_budget_tests.rsindex 8c240eafed..7f9b66f274 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware_memory_budget_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware_memory_budget_tests.rs@@ -1,4 +1,5 @@//! A memory budget refusal is the host's own limit, not the tool failing:+use tinyagents_harness::middleware::is_repeat_call_exempt;//! a parallel batch of memory calls past the cap must not halt the run//! (#7717).diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware_stop_cause_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware_stop_cause_tests.rsindex 329fca598d..fe7e206e1c 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware_stop_cause_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware_stop_cause_tests.rs@@ -1,4 +1,5 @@//! The stop summary a user reads must name the breaker that actually stopped+use tinyagents_harness::middleware::is_repeat_call_exempt;//! the turn. These drive real tool-result sequences through the breakers the//! harness installs, then render the summary from whatever stop note they//! left, the way the session driver does.