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
fix: remove reasoning recovery callers and update harness
Steven Enamakel9561869a8279
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/unmet_deliverable.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/unmet_deliverable.rsindex 039afbce4d..e40eb8a656 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware/unmet_deliverable.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/unmet_deliverable.rs@@ -377,7 +377,6 @@ 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 {@@ -392,7 +391,6 @@ 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 c3f2dbeab3..b79377d50d 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,10 +380,6 @@ 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"@@ -397,7 +393,6 @@ 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/crates/openhuman-core/src/agent/tinyagents/response_shape.rs b/crates/openhuman-core/src/agent/tinyagents/response_shape.rsindex f6e1a450f7..99d71d8582 100644--- a/crates/openhuman-core/src/agent/tinyagents/response_shape.rs+++ b/crates/openhuman-core/src/agent/tinyagents/response_shape.rs@@ -191,7 +191,6 @@ pub(super) fn install(harness: &mut AgentHarness<(), OpenHumanRunContext>, root:// empty-response recovery must not issue additional model calls.policy.truncated_empty_retries = 0;policy.truncated_empty_nudges = 0;- policy.truncated_empty_reasoning_fallback = false;policy.output_retry.message_template ="Return complete JSON matching the requested schema.".into();harness.with_policy(policy);diff --git a/vendor/tinyagents b/vendor/tinyagentsindex 13a964be0e..7d97e85114 160000--- a/vendor/tinyagents+++ b/vendor/tinyagents@@ -1 +1 @@-Subproject commit 13a964be0e91f6b4f12681483dfd62fb9049d9b3+Subproject commit 7d97e8511487a89cea5fa273562aadd4a1f17177