Skip to content

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

fix(memory): correct schema handler to use newtype wrapper for memory types

Steven Enamakelb59cb73a565d
diff --git a/crates/openhuman-core/src/memory/schemas/handlers.rs b/crates/openhuman-core/src/memory/schemas/handlers.rs
index 686558ed8c..d81d014130 100644
--- a/crates/openhuman-core/src/memory/schemas/handlers.rs
+++ b/crates/openhuman-core/src/memory/schemas/handlers.rs
@@ -11,7 +11,7 @@ use crate::core::Outcome;
use crate::memory::error::{MemoryError, MemoryResult};
use crate::memory::explore::{self, ExploreParams, ItemsGetParams};
use crate::memory::types::{
- ContextSetParams, ConversationsSetParams, EmptyParams, EngineSetParams, FetchParams,
+ ContextNodeParams, ContextSetParams, ConversationsSetParams, EmptyParams, EngineSetParams, FetchParams,
ForgetParams, ImportStartParams, ImportStateView, ItemsListParams, LearnParams, RecallParams,
SourceAddedView, SourceRemovedView, SourcesAddParams, SourcesListView, SourcesRemoveParams,
SourcesSyncParams, SourcesSyncView,
diff --git a/crates/openhuman-core/src/memory/types.rs b/crates/openhuman-core/src/memory/types.rs
index 66c741d6c0..84839bb0ee 100644
--- a/crates/openhuman-core/src/memory/types.rs
+++ b/crates/openhuman-core/src/memory/types.rs
@@ -371,7 +371,6 @@ pub struct ContextView {
/// `memory_context_get` / `memory_context_refresh` params.
#[derive(Debug, Clone, Default, Deserialize)]
-#[serde(deny_unknown_fields)]
pub struct ContextNodeParams {
/// The memory node; the root when omitted.
#[serde(default)]