The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(memory): hash memory config directly in prefetch fingerprint
Steven Enamakela890cc2ac687
diff --git a/crates/openhuman-core/src/memory/lifecycle/prefetch.rs b/crates/openhuman-core/src/memory/lifecycle/prefetch.rsindex 3e56c2fdcb..4459f2b20c 100644--- a/crates/openhuman-core/src/memory/lifecycle/prefetch.rs+++ b/crates/openhuman-core/src/memory/lifecycle/prefetch.rs@@ -89,10 +89,7 @@ impl Key {/// full Config is large and unrelated settings must not invalidate turn packs.fn memory_config_fingerprint(config: &Config) -> u64 {let mut fingerprint = std::collections::hash_map::DefaultHasher::new();- // Keep only the digest, never serialized settings or credentials.- serde_json::to_vec(&config.memory)- .unwrap_or_default()- .hash(&mut fingerprint);+ config.memory.hash(&mut fingerprint);config.config_path.hash(&mut fingerprint);fingerprint.finish()}