Skip to content

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

chore: files changed crates/openhuman-core/src/config/schema/memory_tests.rs,crates/openhuman-core/s

Steven Enamakel416d29ca9732
diff --git a/crates/openhuman-core/src/config/schema/memory_tests.rs b/crates/openhuman-core/src/config/schema/memory_tests.rs
index de8bf09cc2..af5eda9509 100644
--- a/crates/openhuman-core/src/config/schema/memory_tests.rs
+++ b/crates/openhuman-core/src/config/schema/memory_tests.rs
@@ -4,6 +4,7 @@ use serde_json::json;
#[test]
fn defaults_select_tinyhumans_with_logging_and_recall_on() {
let config = MemoryConfig::default();
+ assert_eq!(config.recall, RecallSettings::default());
assert_eq!(config.engine, DEFAULT_MEMORY_ENGINE);
assert!(config.engines.is_empty());
assert!(config.sources.is_empty());
@@ -103,7 +104,7 @@ build_delay_secs = 456
fn memory_config_and_recall_settings_keep_their_hash_contract() {
fn assert_hash<T: std::hash::Hash>() {}
- assert_hash::<MemoryRecallConfig>();
+ assert_hash::<RecallSettings>();
assert_hash::<MemoryConfig>();
}
diff --git a/crates/openhuman-core/src/memory/lifecycle/mod_tests.rs b/crates/openhuman-core/src/memory/lifecycle/mod_tests.rs
index ea28eb834c..345bb16025 100644
--- a/crates/openhuman-core/src/memory/lifecycle/mod_tests.rs
+++ b/crates/openhuman-core/src/memory/lifecycle/mod_tests.rs
@@ -4,7 +4,7 @@ use crate::memory::test_fixtures::{bind_reference, config_in};
#[test]
fn the_policy_mirrors_the_recall_config() {
- let mut recall = MemoryRecallConfig::default();
+ let mut recall = RecallSettings::default();
let default = policy(&recall);
assert_eq!(
default,
diff --git a/crates/openhuman-core/src/memory/lifecycle/views.rs b/crates/openhuman-core/src/memory/lifecycle/views.rs
index 88cad3421e..1bcfd9be86 100644
--- a/crates/openhuman-core/src/memory/lifecycle/views.rs
+++ b/crates/openhuman-core/src/memory/lifecycle/views.rs
@@ -210,7 +210,6 @@ pub async fn agents_list(
.agents()
.await?
.into_iter()
- .into_iter()
.map(|agent| AgentCount {
agent_id: agent.agent_id,
turns: agent.turns,