Skip to content

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

fix(subagent_host): use protocol instructions renderer for subagent prompts

Steven Enamakel2f2f83f6eaa2
diff --git a/crates/openhuman-core/src/agent/subagent_host/tool_prep.rs b/crates/openhuman-core/src/agent/subagent_host/tool_prep.rs
index 675c0ae8a3..b5998cd11e 100644
--- a/crates/openhuman-core/src/agent/subagent_host/tool_prep.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/tool_prep.rs
@@ -24,7 +24,7 @@ pub(crate) fn subagent_prompt_protocol(
parent_format: tinytools_agent::dialect::ToolCallFormat,
tools: &[tinytools::ToolSpec],
) -> (tinytools_agent::dialect::ToolCallFormat, String) {
- let instructions = tinytools_agent::dialect::render_prompt_instructions(parent_format, tools);
+ let instructions = tinytools_agent::dialect::render_protocol_instructions(parent_format, tools);
(parent_format, instructions)
}