Skip to content

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

feat(config): add agent controller schema

Steven Enamakel9e63480b57bb
diff --git a/crates/openhuman-core/src/config/schemas/controllers/agent.rs b/crates/openhuman-core/src/config/schemas/controllers/agent.rs
index c77176ccde..121c0b203e 100644
--- a/crates/openhuman-core/src/config/schemas/controllers/agent.rs
+++ b/crates/openhuman-core/src/config/schemas/controllers/agent.rs
@@ -116,22 +116,6 @@ pub(super) fn handle_set_browser_allow_all(params: Map<String, Value>) -> Contro
})
}
-pub(super) fn handle_get_activity_level_settings(_params: Map<String, Value>) -> ControllerFuture {
- Box::pin(async move { to_json(config_rpc::get_activity_level_settings().await?) })
-}
-
-pub(super) fn handle_update_activity_level_settings(
- params: Map<String, Value>,
-) -> ControllerFuture {
- Box::pin(async move {
- let update = deserialize_params::<ActivityLevelSettingsUpdate>(params)?;
- let patch = config_rpc::ActivityLevelSettingsPatch {
- level: update.level,
- };
- to_json(config_rpc::load_and_apply_activity_level_settings(patch).await?)
- })
-}
-
pub(super) fn handle_get_memory_sync_settings(_params: Map<String, Value>) -> ControllerFuture {
Box::pin(async move { to_json(config_rpc::get_memory_sync_settings().await?) })
}