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 empty user input in presentation layer

Steven Enamakelecf9ea223e0e
diff --git a/crates/openhuman-core/src/web_chat/presentation.rs b/crates/openhuman-core/src/web_chat/presentation.rs
index e3c1798065..be60a0204c 100644
--- a/crates/openhuman-core/src/web_chat/presentation.rs
+++ b/crates/openhuman-core/src/web_chat/presentation.rs
@@ -212,7 +212,6 @@ pub(crate) async fn deliver_response(
}
// Final chat_done with full text (for deduplication / state sync).
- #[allow(clippy::needless_update)]
publish_web_channel_event(WebChannelEvent {
event: "chat_done".to_string(),
client_id: client_id.to_string(),