Skip to content

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

refactor(core): adjust channel message processing

Steven Enamakel071f1c35e91c
diff --git a/crates/openhuman-core/src/channels/host/remote_control.rs b/crates/openhuman-core/src/channels/host/remote_control.rs
index 3d3bffcce6..7cde849661 100644
--- a/crates/openhuman-core/src/channels/host/remote_control.rs
+++ b/crates/openhuman-core/src/channels/host/remote_control.rs
@@ -1,7 +1,6 @@
//! Captured host conversation and session state supplied to the channel module.
use crate::channels::context::ChannelRuntimeContext;
-use crate::channels::Channel;
use crate::core::runtime::DispatchCtx;
use crate::threads::store::{self as conversations, CreateConversationThread};
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs b/crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs
index 816beb7502..6aec8d8c64 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs
@@ -312,7 +312,7 @@ pub(crate) async fn process_channel_runtime_message(
.is_some_and(|ch| ch.supports_draft_updates());
// Set up streaming channel if supported
- let (progress_tx, progress_rx) = if use_streaming {
+ let (_progress_tx, progress_rx) = if use_streaming {
let (tx, rx) = tokio::sync::mpsc::channel::<AgentProgress>(64);
(Some(tx), Some(rx))
} else {
@@ -516,7 +516,7 @@ pub(crate) async fn process_channel_runtime_message(
&route,
&enriched_message,
active_turn_model_source,
- progress_tx,
+ _progress_tx,
turn_origin,
approval,
)
diff --git a/crates/openhuman-embed/src/profiles/handle.rs b/crates/openhuman-embed/src/profiles/handle.rs
index 36a7a4f715..42fd885fe9 100644
--- a/crates/openhuman-embed/src/profiles/handle.rs
+++ b/crates/openhuman-embed/src/profiles/handle.rs
@@ -325,6 +325,7 @@ impl ProfileHandle {
message: ConversationMessageRecord {
id: format!("msg_{}", uuid::Uuid::new_v4()),
content: text.to_string(),
+ attachments: Vec::new(),
message_type: "text".to_string(),
extra_metadata: serde_json::json!({}),
sender: "user".to_string(),
diff --git a/vendor/tinychannels b/vendor/tinychannels
index 62c8390623..de6c833d3f 160000
--- a/vendor/tinychannels
+++ b/vendor/tinychannels
@@ -1 +1 @@
-Subproject commit 62c83906230ddfdfc0b1bbd5feabead4e7def0a3
+Subproject commit de6c833d3f16326d141ff068d57f09f14b1f0e6c