Skip to content

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

fix(ops): handle empty agent list in orchestration

Steven Enamakel0edb67816bd9
diff --git a/crates/openhuman-core/src/agent/orchestration/ops.rs b/crates/openhuman-core/src/agent/orchestration/ops.rs
index a280268967..eb03c1a018 100644
--- a/crates/openhuman-core/src/agent/orchestration/ops.rs
+++ b/crates/openhuman-core/src/agent/orchestration/ops.rs
@@ -149,7 +149,7 @@ impl AgentOrchestrationSession {
/// Spawn a child agent from the active parent agent turn.
///
/// `request` must provide a non-empty `agent_id` and `prompt`; optional
- /// context, toolkit, model, parent id, and metadata are carried into the
+ /// context, model, parent id, and metadata are carried into the
/// child record and sub-agent run options. On success this returns the
/// accepted child id and initial status while a background task executes the
/// child through [`run_subagent`].
@@ -385,7 +385,6 @@ impl AgentOrchestrationSession {
let options = SubagentRunOptions {
skill_filter_override: None,
- toolkit_override: request.toolkit,
context: request.context,
model_override: request.model,
task_id: Some(orchestration_id.clone()),