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
chore(channels): add inbound callback debug log and shorten test poll
Steven Enamakel03638724ab25
diff --git a/crates/openhuman-core/src/channels/runtime/startup/callback.rs b/crates/openhuman-core/src/channels/runtime/startup/callback.rsindex b1c7346291..a1e69869ab 100644--- a/crates/openhuman-core/src/channels/runtime/startup/callback.rs+++ b/crates/openhuman-core/src/channels/runtime/startup/callback.rs@@ -65,6 +65,7 @@ impl ChannelHostCallbacks {#[tinybus::interface(name = "ai.tinyhumans.tinychannels.ChannelsHost")]impl ChannelHostCallbacks {async fn deliver_inbound(&self, channel: String, message: serde_json::Value) -> Result<()> {+ tracing::debug!(channel, "[channels] module invoked inbound callback");Self::validate_callback_size(&message)?;if let Ok(delivery) = serde_json::from_value::<tinychannels_bus::module_relay::RelayInboundDelivery,diff --git a/crates/openhuman-embed/tests/channel_agents.rs b/crates/openhuman-embed/tests/channel_agents.rsindex c8f6f34703..57e8c02c3e 100644--- a/crates/openhuman-embed/tests/channel_agents.rs+++ b/crates/openhuman-embed/tests/channel_agents.rs@@ -235,7 +235,7 @@ fn a_telegram_message_is_answered_by_the_bound_runtime_agent() {assert_eq!(listener.agent_id(), "teeny-chat");let mut sent = Vec::new();- for _ in 0..240 {+ for _ in 0..80 {sent = sent_texts(&bot_api).await;if sent.iter().any(|text| text.contains("teeny says hi")) {break;