Skip to content

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

refactor(web_chat): remove unused reaction_emoji field

Steven Enamakeld63f6ddb1b0c
diff --git a/crates/openhuman-core/src/channels/proactive.rs b/crates/openhuman-core/src/channels/proactive.rs
index 7d19802790..b42e119369 100644
--- a/crates/openhuman-core/src/channels/proactive.rs
+++ b/crates/openhuman-core/src/channels/proactive.rs
@@ -208,7 +208,6 @@ impl EventHandler<DomainEvent> for ProactiveMessageSubscriber {
output: None,
success: Some(true),
round: None,
- reaction_emoji: None,
segment_index: None,
segment_total: None,
delta: None,
diff --git a/crates/openhuman-core/src/web_chat/channel_event.rs b/crates/openhuman-core/src/web_chat/channel_event.rs
index 964f275fab..0ca2f1a56d 100644
--- a/crates/openhuman-core/src/web_chat/channel_event.rs
+++ b/crates/openhuman-core/src/web_chat/channel_event.rs
@@ -79,9 +79,6 @@ pub struct WebChannelEvent {
/// The current iteration/round number in a tool-call loop.
#[serde(skip_serializing_if = "Option::is_none")]
pub round: Option<u32>,
- /// Emoji reaction the assistant wants to add to the user's message.
- #[serde(skip_serializing_if = "Option::is_none")]
- pub reaction_emoji: Option<String>,
/// 0-based index when a response is delivered as multiple segments.
#[serde(skip_serializing_if = "Option::is_none")]
pub segment_index: Option<u32>,
diff --git a/crates/openhuman-core/src/web_chat/presentation_tests.rs b/crates/openhuman-core/src/web_chat/presentation_tests.rs
index 89743bffa4..55fa2e21ff 100644
--- a/crates/openhuman-core/src/web_chat/presentation_tests.rs
+++ b/crates/openhuman-core/src/web_chat/presentation_tests.rs
@@ -35,7 +35,6 @@ fn single_bubble_delivery_emits_one_unsegmented_chat_done_without_reaction() {
assert_eq!(done.full_response.as_deref(), Some(text));
assert_eq!(done.segment_total, None);
assert_eq!(done.segment_index, None);
- assert_eq!(done.reaction_emoji, None);
assert!(done.usage.is_none());
}