Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(tinyagents): restore missing re-export of `is_subagent_spawn_or_delegate_tool`

Steven Enamakelba132471c0f4
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context.rs b/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context.rs
index a62089f5a4..ccc98152c2 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context.rs
@@ -28,6 +28,4 @@ pub use scout_run::{run_context_scout, run_context_scout_with_catalog};
pub use tool::AgentPrepareContextTool;
#[cfg(test)]
-use scout_run::{
- extract_context_bundle, is_expected_billing_failure, scout_failure_signal,
-};
+use scout_run::{extract_context_bundle, is_expected_billing_failure, scout_failure_signal};
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context_tests.rs
index 66393c1023..75b6449e76 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context_tests.rs
@@ -1,5 +1,4 @@
use super::*;
-use super::scout_run::log_scout_failure;
use crate::agent::harness::AgentContextPreparedSource;
use crate::agent::harness::SubagentRunError;
@@ -309,13 +308,13 @@ fn credits_exhausted_scout_failure_does_not_reach_sentry() {
);
let _subscriber_guard = tracing::subscriber::set_default(subscriber);
- log_scout_failure("provider call failed", CREDITS_400_BODY);
+ super::scout_run::log_scout_failure("provider call failed", CREDITS_400_BODY);
assert!(
transport.fetch_and_clear_events().is_empty(),
"an out-of-credits background scout must not page Sentry (TAURI-RUST-HMW)"
);
- log_scout_failure("provider call failed", "connection reset by peer");
+ super::scout_run::log_scout_failure("provider call failed", "connection reset by peer");
let events = transport.fetch_and_clear_events();
assert_eq!(
events.len(),
diff --git a/crates/openhuman-core/src/agent/tinyagents/mod.rs b/crates/openhuman-core/src/agent/tinyagents/mod.rs
index 3d98beb474..3dacac3984 100644
--- a/crates/openhuman-core/src/agent/tinyagents/mod.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/mod.rs
@@ -89,7 +89,7 @@ pub(crate) use turn_outcome::{
HaltSummarySlot, TinyagentsTurnOutcome, ToolCallOutcome, ToolOutcomeSink,
};
pub(crate) use turn_policy::{
- agent_turn_wall_clock_ms, ToolPolicyEnforcement,
+ agent_turn_wall_clock_ms, is_subagent_spawn_or_delegate_tool, ToolPolicyEnforcement,
};
pub(crate) use turn_runner::run_turn_via_tinyagents_shared;