Skip to content

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

refactor(triage): update agent chat dispatch signature

Steven Enamakelc1f968371161
diff --git a/crates/openhuman-core/src/triage/escalation.rs b/crates/openhuman-core/src/triage/escalation.rs
index 4b2a8e6e44..d97e36a2d5 100644
--- a/crates/openhuman-core/src/triage/escalation.rs
+++ b/crates/openhuman-core/src/triage/escalation.rs
@@ -257,7 +257,18 @@ async fn dispatch_target_agent(
tracing::debug!(agent_id = %agent_id, "[triage::escalation] dispatching direct agent turn");
let outcome = crate::inference::host_runtime::ops::agent_chat_for(
- definition,
+ &mut config,
+ crate::inference::host_runtime::ops::AgentChatTarget::Definition {
+ definition,
+ host: None,
+ seed: None,
+ usage: None,
+ host_only: false,
+ untrusted_input: false,
+ shape: None,
+ observer: None,
+ attachments: &[],
+ },
prompt,
// SUBAGENT_OPTIONS_REMOVED
run_context: crate::agent::tinyagents::host::OpenHumanRunContext::new()