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 missing user name in presentation

Steven Enamakelc0b9fc439a13
diff --git a/crates/openhuman-core/src/web_chat/presentation.rs b/crates/openhuman-core/src/web_chat/presentation.rs
index be60a0204c..fb76e4e6a1 100644
--- a/crates/openhuman-core/src/web_chat/presentation.rs
+++ b/crates/openhuman-core/src/web_chat/presentation.rs
@@ -255,6 +255,16 @@ pub(crate) async fn deliver_response(
seq: None,
..Default::default()
});
+
+ if suggest_follow_ups {
+ super::suggestions::spawn_follow_up_suggestions(
+ client_id.to_string(),
+ thread_id.to_string(),
+ request_id.to_string(),
+ user_message.to_string(),
+ full_response.to_string(),
+ );
+ }
}
/// Deliver an agent response as exactly one `chat_done` bubble — no