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(channels): remove effective channel timeout helper
Steven Enamakel3b3ae5b8b5c0
diff --git a/crates/openhuman-core/src/channels/context.rs b/crates/openhuman-core/src/channels/context.rsindex ee93f1b9d5..41e2e985dc 100644--- a/crates/openhuman-core/src/channels/context.rs+++ b/crates/openhuman-core/src/channels/context.rs@@ -17,11 +17,6 @@ pub(crate) use tinychannels_bus::{MIN_CHANNEL_MESSAGE_TIMEOUT_SECS,};-#[cfg(test)]-pub(crate) fn effective_channel_message_timeout_secs(configured: u64) -> u64 {- configured.max(MIN_CHANNEL_MESSAGE_TIMEOUT_SECS)-}-// Compatibility projection for tests that exercise route-state consumers with// legacy message fixtures. Runtime turns consume TinyChannels' prepared// `history_key` directly; provider identity derivation stays in TinyChannels.diff --git a/crates/openhuman-core/src/channels/context_tests.rs b/crates/openhuman-core/src/channels/context_tests.rsindex efc293cb22..9e5d60d489 100644--- a/crates/openhuman-core/src/channels/context_tests.rs+++ b/crates/openhuman-core/src/channels/context_tests.rs@@ -72,11 +72,7 @@ fn channel_message(channel: &str) -> traits::ChannelMessage {#[test]fn timeout_and_history_keys_respect_channel_rules() {- assert_eq!(- effective_channel_message_timeout_secs(10),- MIN_CHANNEL_MESSAGE_TIMEOUT_SECS- );- assert_eq!(effective_channel_message_timeout_secs(120), 120);+ assert!(CHANNEL_MESSAGE_TIMEOUT_SECS >= MIN_CHANNEL_MESSAGE_TIMEOUT_SECS);let telegram = channel_message("telegram");let discord = channel_message("discord");