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
chore(vendor): bump tinyagents to 5d322814; the deliverable notes ask for reasoning again
killbillbf5f006a64a1
diff --git a/Cargo.lock b/Cargo.lockindex 773ac3331f..03842905ab 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -7575,7 +7575,7 @@ dependencies = ["reqwest","rustix","serde_json",- "sha2 0.10.9",+ "sha2 0.11.0","tinytools","tokio","tracing",diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/unmet_deliverable.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/unmet_deliverable.rsindex 4019b2ffbd..039afbce4d 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware/unmet_deliverable.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/unmet_deliverable.rs@@ -335,7 +335,8 @@ impl<C: Send + Sync> Middleware<(), C> for UnmetDeliverableMiddleware {/// The clock-driven rungs: at half-time a requested path that still does/// not exist is pointed out on the tool result the model is about to/// read, and at 80% the note says to stop exploring and meet the stated- /// limits. Each is appended once per run.+ /// limits. Each is appended once per run, and each asks the loop for+ /// reasoning on the next call: these are the moments thinking pays.async fn after_tool(&self,ctx: &mut RunContext<C>,@@ -376,6 +377,7 @@ impl<C: Send + Sync> Middleware<(), C> for UnmetDeliverableMiddleware {"[unmet_deliverable] late note: stop exploring, meet the stated limits");append_note(result, &late_note(&clock));+ ctx.request_reasoning();return Ok(());}if (HALF_TIME_BAND..LATE_BAND).contains(&band) && !half_noted {@@ -390,6 +392,7 @@ impl<C: Send + Sync> Middleware<(), C> for UnmetDeliverableMiddleware {"[unmet_deliverable] half-time note: requested paths still absent");append_note(result, &half_time_note(&missing, &clock));+ ctx.request_reasoning();}}Ok(())diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/unmet_deliverable_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/unmet_deliverable_tests.rsindex b79377d50d..c3f2dbeab3 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware/unmet_deliverable_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/unmet_deliverable_tests.rs@@ -380,6 +380,10 @@ async fn the_half_time_and_late_notes_ride_a_tool_result_once_each() {std::thread::sleep(std::time::Duration::from_millis(2_200));let half = run(&middleware, &mut ctx).await;assert!(half.contains("Half the turn's budget is gone"), "{half:?}");+ assert!(+ ctx.take_repeat_noted(),+ "the half-time note asks the loop for reasoning on the next call"+ );assert!(half.contains(&missing.display().to_string()),"names the absent path"@@ -393,6 +397,7 @@ async fn the_half_time_and_late_notes_ride_a_tool_result_once_each() {std::thread::sleep(std::time::Duration::from_millis(1_300));let late = run(&middleware, &mut ctx).await;assert!(late.contains("Stop exploring"), "{late:?}");+ assert!(ctx.take_repeat_noted(), "so does the late note");assert!(!late.contains("Half the turn's budget"),"the late note stands alone"diff --git a/vendor/tinyagents b/vendor/tinyagentsindex 1df6ad019c..5d3228142f 160000--- a/vendor/tinyagents+++ b/vendor/tinyagents@@ -1 +1 @@-Subproject commit 1df6ad019ca02681cbfb26276d734b1723dbc708+Subproject commit 5d3228142f4a202ccb13d77c4a23b97bbc85510b