Skip to content

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

test(channels): clone adapter for progressive transport map

Steven Enamakel0862ed354c59
diff --git a/crates/openhuman-core/src/channels/runtime/startup/callback_tests.rs b/crates/openhuman-core/src/channels/runtime/startup/callback_tests.rs
index 4503bb11f0..1b82f18c66 100644
--- a/crates/openhuman-core/src/channels/runtime/startup/callback_tests.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup/callback_tests.rs
@@ -460,7 +460,7 @@ async fn native_progressive_output_event_validates_scope_without_observer() {
HashMap::from([("telegram:bot-b".into(), adapter.clone() as Arc<dyn Channel>)]),
HashMap::from([(
"telegram:bot-b".into(),
- adapter as Arc<dyn ProgressiveChannelTransport>,
+ adapter.clone() as Arc<dyn ProgressiveChannelTransport>,
)]),
None,
);