Skip to content

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

test(runtime): simplify BeginTypingRefresh signature

Steven Enamakelaa85f98c74d9
diff --git a/crates/openhuman-core/src/channels/runtime/startup.rs b/crates/openhuman-core/src/channels/runtime/startup.rs
index 8bcb63cc75..d00fe682dc 100644
--- a/crates/openhuman-core/src/channels/runtime/startup.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup.rs
@@ -15,10 +15,7 @@ use tinybus::module::{ModuleCallError, ModuleClient};
#[cfg(test)]
type BeginTypingRefresh = std::sync::Arc<
- dyn Fn(
- String,
- u64,
- ) -> futures::future::BoxFuture<'static, anyhow::Result<Option<String>>>
+ dyn Fn(String, u64) -> futures::future::BoxFuture<'static, anyhow::Result<Option<String>>>
+ Send
+ Sync,
>;