Skip to content

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

fix(tools): mark delegated tool output as agent origin

Steven Enamakel2018ff93d5be
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rs b/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rs
index cd74ecbdda..4105c24c42 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rs
@@ -72,6 +72,11 @@ impl ToolDispatch<(), crate::agent::tinyagents::host::OpenHumanRunContext> for D
self.tool.clone()
}
+ /// Delegated output must use the stricter agent-output screening policy.
+ fn output_origin(&self) -> tinyagents_harness::host::ContentOrigin {
+ tinyagents_harness::host::ContentOrigin::Agent
+ }
+
async fn execute(
&self,
_state: &(),
diff --git a/vendor/tinyagents b/vendor/tinyagents
index d6e90ec7c7..4e0f74d459 160000
--- a/vendor/tinyagents
+++ b/vendor/tinyagents
@@ -1 +1 @@
-Subproject commit d6e90ec7c7fcdd01c2391b5cdeaee0f61e7d50f0
+Subproject commit 4e0f74d45996d227a7cabb2e559c9a851a5b7936