Skip to content

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

chore(core): document agent chat controller ordering

Steven Enamakelccab215e01ce
diff --git a/crates/openhuman-core/src/core/all.rs b/crates/openhuman-core/src/core/all.rs
index 579f46a60d..d3640e944e 100644
--- a/crates/openhuman-core/src/core/all.rs
+++ b/crates/openhuman-core/src/core/all.rs
@@ -513,6 +513,8 @@ fn build_registered_controllers() -> Vec<GroupedController> {
crate::platform::service::all_service_registered_controllers(),
);
let mut inference_controllers = crate::inference::all_inference_registered_controllers();
+ // Agent-owned chat keeps inference's capability group and contract order.
+ // Append it before the local runtime's speech controllers.
inference_controllers
.extend(crate::agent_runs::all_inference_agent_chat_registered_controllers());
inference_controllers.extend(crate::inference::all_local_inference_registered_controllers());