Skip to content

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

fix(web_chat): handle proactive channel messages in presentation layer

Steven Enamakel351d589fef30
diff --git a/crates/openhuman-core/src/channels/proactive.rs b/crates/openhuman-core/src/channels/proactive.rs
index b42e119369..af25e15db5 100644
--- a/crates/openhuman-core/src/channels/proactive.rs
+++ b/crates/openhuman-core/src/channels/proactive.rs
@@ -202,6 +202,8 @@ impl EventHandler<DomainEvent> for ProactiveMessageSubscriber {
error_retry_after_ms: None,
error_provider: None,
error_fallback_available: None,
+ copy_key: None,
+ copy_params: None,
tool_name: None,
skill_id: None,
args: None,
diff --git a/crates/openhuman-core/src/web_chat/presentation.rs b/crates/openhuman-core/src/web_chat/presentation.rs
index 8aee0af0a8..de3c59d272 100644
--- a/crates/openhuman-core/src/web_chat/presentation.rs
+++ b/crates/openhuman-core/src/web_chat/presentation.rs
@@ -161,6 +161,8 @@ pub(crate) async fn deliver_response(
error_retry_after_ms: None,
error_provider: None,
error_fallback_available: None,
+ copy_key: None,
+ copy_params: None,
tool_name: None,
skill_id: None,
args: None,
@@ -204,6 +206,8 @@ pub(crate) async fn deliver_response(
error_retry_after_ms: None,
error_provider: None,
error_fallback_available: None,
+ copy_key: None,
+ copy_params: None,
tool_name: None,
skill_id: None,
args: None,
@@ -297,6 +301,8 @@ fn publish_chat_done(
error_retry_after_ms: None,
error_provider: None,
error_fallback_available: None,
+ copy_key: None,
+ copy_params: None,
tool_name: None,
skill_id: None,
args: None,