Skip to content

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

fix: remove `use_tinyplace` from subagent spawn tool detection\n\nThe `use_tinyplace` tool was incorrectly classified as a subagent spawn tool in two locations, causing it to be treated as a delegation mechanism rather than a regular tool. This change removes it from the spawn tool checks in both `tool_prep.rs` and `tinyagents/mod.rs`, restoring its intended behavior as a standard tool invocation.\n\nAuto-committed-on: dragonfly\n

Steven Enamakeld12a0fde6974
diff --git a/src/openhuman/agent/harness/subagent_runner/tool_prep.rs b/src/openhuman/agent/harness/subagent_runner/tool_prep.rs
index 6e365819be..6b9a544a93 100644
--- a/src/openhuman/agent/harness/subagent_runner/tool_prep.rs
+++ b/src/openhuman/agent/harness/subagent_runner/tool_prep.rs
@@ -117,8 +117,6 @@ pub(crate) fn build_text_mode_tool_instructions() -> String {
/// * every synthesised per-archetype `delegate_*` tool
/// ([`crate::openhuman::tools::orchestrator_tools::collect_orchestrator_tools`]
/// emits `delegate_researcher`, `delegate_planner`, …).
-/// * custom delegate names that intentionally do not use the `delegate_*`
-/// prefix, currently `use_tinyplace`.
/// * `agent_prepare_context` — the context-scout entry point. It reads the
/// *parent's* visible catalog/session via `current_parent()`, which inside a
/// nested run is still the top-level orchestrator (the runner does not
@@ -134,7 +132,6 @@ pub(crate) fn build_text_mode_tool_instructions() -> String {
pub(super) fn is_subagent_spawn_tool(name: &str) -> bool {
if name == "spawn_subagent"
|| name.starts_with("delegate_")
- || name == "use_tinyplace"
|| name == "agent_prepare_context"
{
return true;
diff --git a/src/openhuman/agent/tinyagents/mod.rs b/src/openhuman/agent/tinyagents/mod.rs
index ccf613dd3e..552c58aebb 100644
--- a/src/openhuman/agent/tinyagents/mod.rs
+++ b/src/openhuman/agent/tinyagents/mod.rs
@@ -519,7 +519,6 @@ pub(crate) async fn run_turn_via_tinyagents(
fn is_subagent_spawn_or_delegate_tool(name: &str) -> bool {
name == "spawn_subagent"
|| name.starts_with("delegate_")
- || name == "use_tinyplace"
|| name == "agent_prepare_context"
|| name == "spawn_worker_thread"
}