Skip to content

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

feat(inference): re-export INFERENCE_AGENT_CHAT constant

Steven Enamakel1963c1f9c3df
diff --git a/src/openhuman/inference/mod.rs b/src/openhuman/inference/mod.rs
index 6783e0e95b..bc2685593d 100644
--- a/src/openhuman/inference/mod.rs
+++ b/src/openhuman/inference/mod.rs
@@ -45,6 +45,7 @@ pub use ops as rpc;
pub use schemas::{
all_controller_schemas as all_inference_controller_schemas,
all_registered_controllers as all_inference_registered_controllers,
+ INFERENCE_AGENT_CHAT,
};
// Re-export the types that external callers (voice, agent, etc.) import from inference
@@ -64,12 +65,3 @@ pub use types::{
pub(crate) fn inference_test_guard() -> std::sync::MutexGuard<'static, ()> {
local::inference_test_guard()
}
-
-/// The canonical rack for `inference.agent_chat`.
-///
-/// 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";