Skip to content

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

docs(relay): document relay provider params and add param tests

Steven Enamakel48add41b83ff
diff --git a/crates/openhuman-core/src/channels/providers/relay/README.md b/crates/openhuman-core/src/channels/providers/relay/README.md
index fe4cc4c609..9fda6b42fb 100644
--- a/crates/openhuman-core/src/channels/providers/relay/README.md
+++ b/crates/openhuman-core/src/channels/providers/relay/README.md
@@ -6,7 +6,7 @@ In SaaS the cloud gateway owns the hosted Telegram, iMessage and Discord webhook
## Contract
-`openhuman.channel_relay_inbound` (namespace `channel`, beside `channel_web_chat`), on the SaaS user surface (`user_agents::surface::USER_METHODS`):
+`openhuman.channel_relay_inbound` (namespace `channel`, beside `channel_web_chat`), on the SaaS user surface (`profiles::surface::USER_METHODS`):
| Param | Rule |
| --- | --- |
diff --git a/crates/openhuman-core/src/channels/providers/relay/params_tests.rs b/crates/openhuman-core/src/channels/providers/relay/params_tests.rs
index be01ec3992..e6db23b2ae 100644
--- a/crates/openhuman-core/src/channels/providers/relay/params_tests.rs
+++ b/crates/openhuman-core/src/channels/providers/relay/params_tests.rs
@@ -37,7 +37,7 @@ fn the_thread_id_is_a_reserved_channel_id() {
"the backend-relayed inbound path's derivation"
);
assert!(
- crate::user_agents::surface::validate_user_thread_id(&id).is_err(),
+ crate::profiles::surface::validate_user_thread_id(&id).is_err(),
"a user cannot choose it"
);
}