Skip to content

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

test(channels): qualify ChannelMessage path in proactive test mock

Steven Enamakelb079ff4e636d
diff --git a/crates/openhuman-core/src/channels/proactive_tests.rs b/crates/openhuman-core/src/channels/proactive_tests.rs
index 0623dce6d5..9ffe6cec12 100644
--- a/crates/openhuman-core/src/channels/proactive_tests.rs
+++ b/crates/openhuman-core/src/channels/proactive_tests.rs
@@ -1,6 +1,6 @@
use super::*;
use std::sync::atomic::{AtomicUsize, Ordering};
-use tinychannels_bus::{ChannelMessage, ChannelOutboundMessage};
+use tinychannels_bus::ChannelOutboundMessage;
use tokio::sync::mpsc;
struct MockChannel {
@@ -66,7 +66,10 @@ impl Channel for MockChannel {
deprecated,
reason = "TinyChannels v22 still requires the legacy listener method on focused fixtures"
)]
- async fn listen(&self, _tx: mpsc::Sender<ChannelMessage>) -> anyhow::Result<()> {
+ async fn listen(
+ &self,
+ _tx: mpsc::Sender<tinychannels_bus::ChannelMessage>,
+ ) -> anyhow::Result<()> {
Ok(())
}
#[allow(