Skip to content

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

fix(relay): return Accepted instead of awaiting publish outcome

Steven Enamakelcf69d5a02ae6
diff --git a/crates/openhuman-core/src/channels/providers/relay/progressive.rs b/crates/openhuman-core/src/channels/providers/relay/progressive.rs
index 44dce1f279..fa22bd87f9 100644
--- a/crates/openhuman-core/src/channels/providers/relay/progressive.rs
+++ b/crates/openhuman-core/src/channels/providers/relay/progressive.rs
@@ -101,7 +101,7 @@ impl RelayProgressiveTransport {
if idempotency_key.is_empty() || idempotency_key.len() > 128 {
return Err(Error::failed("hosted relay send identity is invalid"));
}
- let outcome = self.channel.publish_typed_reply(
+ self.channel.publish_typed_reply(
&self.channel_ref,
&self.conversation,
&self.turn_id,
@@ -111,7 +111,7 @@ impl RelayProgressiveTransport {
&parts,
&text,
);
- Ok(ProgressiveTransportResult::Outcome(Box::new(outcome)))
+ Ok(ProgressiveTransportResult::Accepted)
}
_ => Err(Error::failed("hosted relay operation is unavailable")),
}
diff --git a/vendor/tinychannels b/vendor/tinychannels
index dfd8b6d0c0..5eaa7e645d 160000
--- a/vendor/tinychannels
+++ b/vendor/tinychannels
@@ -1 +1 @@
-Subproject commit dfd8b6d0c05af2fc8c5c42c93fd8ff0029be8d89
+Subproject commit 5eaa7e645dca573737252d979ef96f6fad7fb98f