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
Increase default memory pre-turn timeout to ten seconds
Steven Enamakel9b7ae8e1f311
diff --git a/crates/openhuman-core/src/config/schema/memory.rs b/crates/openhuman-core/src/config/schema/memory.rsindex 98fd129e8b..12c127888c 100644--- a/crates/openhuman-core/src/config/schema/memory.rs+++ b/crates/openhuman-core/src/config/schema/memory.rs@@ -20,7 +20,7 @@//! history_limit = 6//! team_limit = 3 # other agents' turns; 0 leaves the section out//! build_beliefs_every = 10 # turns between belief builds; 0 turns them off-//! pre_turn_timeout_ms = 5000+//! pre_turn_timeout_ms = 10000//! date_hint = false # a model call works out which days a turn is about//! compaction_timeout_ms = 8000//! build_delay_secs = 300 # how far belief builds run behind the writes@@ -277,7 +277,7 @@ impl Default for MemoryConversationsConfig {/// Default `[memory.recall] budget_tokens`.pub const DEFAULT_RECALL_BUDGET_TOKENS: u32 = 1200;/// Default `[memory.recall] pre_turn_timeout_ms`.-pub const DEFAULT_PRE_TURN_TIMEOUT_MS: u64 = 5000;+pub const DEFAULT_PRE_TURN_TIMEOUT_MS: u64 = 10000;/// Default `[memory.recall] compaction_timeout_ms`.pub const DEFAULT_COMPACTION_TIMEOUT_MS: u64 = 8000;/// Default `[memory.recall] build_delay_secs`.diff --git a/crates/openhuman-core/src/config/schema/memory_tests.rs b/crates/openhuman-core/src/config/schema/memory_tests.rsindex f23693c769..ee91671342 100644--- a/crates/openhuman-core/src/config/schema/memory_tests.rs+++ b/crates/openhuman-core/src/config/schema/memory_tests.rs@@ -28,8 +28,8 @@ fn defaults_select_tinyhumans_with_logging_and_recall_on() {}#[test]-fn default_pre_turn_waits_five_seconds_for_memory() {- assert_eq!(MemoryConfig::default().recall.pre_turn_timeout_ms, 5_000);+fn default_pre_turn_waits_ten_seconds_for_memory() {+ assert_eq!(MemoryConfig::default().recall.pre_turn_timeout_ms, 10_000);}#[test]diff --git a/docs/specs/memory-v2.md b/docs/specs/memory-v2.mdindex fe37024ec2..776f978370 100644--- a/docs/specs/memory-v2.md+++ b/docs/specs/memory-v2.md@@ -183,7 +183,7 @@ brain_limit = 6history_limit = 6team_limit = 3 # 0 leaves other agents' turns outbuild_beliefs_every = 10 # turns between belief builds; 0 = off-pre_turn_timeout_ms = 5000+pre_turn_timeout_ms = 10000compaction_timeout_ms = 8000build_delay_secs = 300