Skip to content

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

chore(channels): silence unused parameter warnings in typing helpers

Steven Enamakele2982a65ddab
diff --git a/crates/openhuman-core/src/channels/runtime/startup.rs b/crates/openhuman-core/src/channels/runtime/startup.rs
index b1473eeca1..c39c1a2ab7 100644
--- a/crates/openhuman-core/src/channels/runtime/startup.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup.rs
@@ -144,6 +144,7 @@ impl ChannelHandle {
}
pub(crate) async fn start_typing(&self, recipient: &str) -> anyhow::Result<()> {
+ let _ = recipient;
match self {
// The module owns typing through the progressive output it opens
// for the turn; its adapters have no separate `StartTyping`
@@ -162,6 +163,7 @@ impl ChannelHandle {
}
pub(crate) async fn stop_typing(&self, recipient: &str) -> anyhow::Result<()> {
+ let _ = recipient;
match self {
// The module owns typing through the progressive output it opens
// for the turn; its adapters have no separate `StopTyping`
@@ -184,6 +186,7 @@ impl ChannelHandle {
recipient: &str,
interval_secs: u64,
) -> anyhow::Result<Option<String>> {
+ let _ = (recipient, interval_secs);
match self {
// Typing refresh runs inside the module's progressive worker.
Self::Module(_) => Ok(None),
@@ -197,6 +200,7 @@ impl ChannelHandle {
}
pub(crate) async fn end_typing_refresh(&self, handle: &str) -> anyhow::Result<()> {
+ let _ = handle;
match self {
Self::Module(_) => Ok(()),
Self::Relay(_) => Ok(()),