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 tests for memory budget and stop cause
Steven Enamakelbbc93fdedf86
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 7f9b66f274..605348ae94 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,9 +1,9 @@//! 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).use super::*;+use tinyagents_harness::middleware::is_repeat_call_exempt;use crate::memory::test_fixtures::{bind_reference, config_in};use crate::memory::tools::{is_budget_refusal, MemoryTool};use tinyagents_harness::ids::CallId;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 fe7e206e1c..2ede06aea9 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,10 +1,10 @@//! 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.use super::*;+use tinyagents_harness::middleware::is_repeat_call_exempt;use crate::agent::session_host::stop_summary::{render_stop_summary, StopReasonKind};use crate::agent::session_host::turn_checkpoint::CheckpointToolResult;use tinyagents_harness::middleware::library::{