Skip to content

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

fix(config): handle missing optional fields in schema validation

Steven Enamakelffede5f9098a
diff --git a/crates/openhuman-core/src/config/schemas/helpers.rs b/crates/openhuman-core/src/config/schemas/helpers.rs
index 47ad87cadf..4f6147e912 100644
--- a/crates/openhuman-core/src/config/schemas/helpers.rs
+++ b/crates/openhuman-core/src/config/schemas/helpers.rs
@@ -255,12 +255,6 @@ pub(super) struct AgentPathsUpdate {
pub(super) action_dir: Option<String>,
}
-#[derive(Debug, Deserialize)]
-pub(super) struct ActivityLevelSettingsUpdate {
- /// "off" | "minimal" | "moderate" | "active" | "always_on" (or "0"-"4").
- pub(super) level: Option<String>,
-}
-
#[derive(Debug, Deserialize)]
pub(super) struct MemorySyncSettingsUpdate {
pub(super) sync_interval_secs: Option<u64>,