Skip to content

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

docs(agent_runs): clarify INFERENCE_AGENT_CHAT doc comment

Steven Enamakel126e2d9af9dd
diff --git a/crates/openhuman-core/src/agent_runs/mod.rs b/crates/openhuman-core/src/agent_runs/mod.rs
index 70da6d69ad..a804cd35a2 100644
--- a/crates/openhuman-core/src/agent_runs/mod.rs
+++ b/crates/openhuman-core/src/agent_runs/mod.rs
@@ -15,10 +15,13 @@ pub(crate) use agent_chat::all_inference_agent_chat_registered_controllers;
pub(crate) use agent_teams::{
all_agent_team_controller_schemas, all_agent_team_registered_controllers,
};
-/// Canonical RPC method name for the `inference.agent_chat` controller.
+/// The canonical RPC method name for `inference.agent_chat`.
///
-/// Hosts reference this value so their dispatch string stays aligned with the
-/// registered controller's namespace and function.
+/// The controller's `namespace` + `function` combine into the wire method
+/// `openhuman.inference_agent_chat` ([`rpc_method_name`](crate::core::ControllerSchema)).
+/// Host facades (the embed library) reference this constant rather than
+/// spelling the string out, so a rename upstream cannot silently drift an
+/// embedder's dispatch string away from the registered controller.
pub const INFERENCE_AGENT_CHAT: &str = "openhuman.inference_agent_chat";
pub(crate) use command_center::{
all_command_center_controller_schemas, all_command_center_registered_controllers,