Skip to content

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

feat(embed): delegate agent chat constant to inference domain

Steven Enamakel4e0dc6b7b316
diff --git a/src/embed/agent.rs b/src/embed/agent.rs
index 4624cc1054..2bc2b0dd74 100644
--- a/src/embed/agent.rs
+++ b/src/embed/agent.rs
@@ -51,7 +51,10 @@ use crate::openhuman::agent::turn_origin::AgentTurnOrigin;
/// configured inference. An embedder that cannot say where a turn runs is
/// strictly less capable, so the facade uses the wider surface and lets
/// [`Route`] be `None` when the account's own route is what is wanted.
-const AGENT_CHAT: &str = "openhuman.inference_agent_chat";
+///
+/// The operation constant is owned by the inference domain; this facade must
+/// not spell the wire name out so a rename upstream cannot drift the dispatch.
+use crate::openhuman::inference::INFERENCE_AGENT_CHAT as AGENT_CHAT;
/// Where one turn's inference should go.
///