Skip to content

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

chore(inference): remove unused INFERENCE_AGENT_CHAT constant

Steven Enamakel2833ac232e97
diff --git a/crates/openhuman-core/src/inference/mod.rs b/crates/openhuman-core/src/inference/mod.rs
index 733a7549b5..1cdec5c27f 100644
--- a/crates/openhuman-core/src/inference/mod.rs
+++ b/crates/openhuman-core/src/inference/mod.rs
@@ -40,7 +40,7 @@ pub mod turn_models;
pub use schemas::{
all_controller_schemas as all_inference_controller_schemas,
- all_registered_controllers as all_inference_registered_controllers, INFERENCE_AGENT_CHAT,
+ all_registered_controllers as all_inference_registered_controllers,
};
// Re-export the types that external callers (voice, agent, etc.) import from inference
diff --git a/crates/openhuman-core/src/inference/schemas.rs b/crates/openhuman-core/src/inference/schemas.rs
index ed118f3f28..421360647c 100644
--- a/crates/openhuman-core/src/inference/schemas.rs
+++ b/crates/openhuman-core/src/inference/schemas.rs
@@ -24,15 +24,6 @@ use oauth_handlers::*;
use prompt_handlers::*;
use settings_handlers::*;
-/// The canonical RPC method name 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";
-
pub fn all_controller_schemas() -> Vec<ControllerSchema> {
vec![
schemas("resolve_model"),