Skip to content

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

test(runtime): add name getter to recording channel

Steven Enamakel71577c412016
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 0a6a5aa908..c3e5941e33 100644
--- a/crates/openhuman-core/src/channels/runtime/startup/callback_tests.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup/callback_tests.rs
@@ -54,6 +54,10 @@ impl RecordingChannel {
progressive_requests: tokio::sync::Mutex::new(Vec::new()),
}
}
+
+ fn name(&self) -> &str {
+ &self.name
+ }
}
impl RecordingChannel {