Skip to content

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

refactor(triage): use agent_chat_for for subagent execution

Steven Enamakel11d3559067a0
diff --git a/crates/openhuman-core/src/triage/escalation.rs b/crates/openhuman-core/src/triage/escalation.rs
index 2566c8f3dd..6f09088795 100644
--- a/crates/openhuman-core/src/triage/escalation.rs
+++ b/crates/openhuman-core/src/triage/escalation.rs
@@ -256,7 +256,7 @@ async fn dispatch_target_agent(
tracing::debug!(agent_id = %agent_id, "[triage::escalation] dispatching direct agent turn");
- let outcome = subagent_host::run_subagent(
+ let outcome = crate::inference::host_runtime::ops::agent_chat_for(
definition,
prompt,
SubagentRunOptions {