Skip to content

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

fix(web_chat): prevent panic when starting chat with empty user message

Steven Enamakela45117250356
diff --git a/crates/openhuman-core/src/web_chat/ops/start_chat.rs b/crates/openhuman-core/src/web_chat/ops/start_chat.rs
index 86b3d65150..c60c3bee12 100644
--- a/crates/openhuman-core/src/web_chat/ops/start_chat.rs
+++ b/crates/openhuman-core/src/web_chat/ops/start_chat.rs
@@ -562,6 +562,9 @@ pub async fn start_chat(
// there before it is announced (#6034).
Some(chat_result.workspace_dir.as_path()),
chat_result.timing,
+ // The main single-user turn is the only surface with
+ // a human waiting on a next-message suggestion (C5).
+ true,
)
.await;
None