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 chat session on start

Steven Enamakel410d164dcba2
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 a70a8672d0..5c083040cc 100644
--- a/crates/openhuman-core/src/web_chat/ops/start_chat.rs
+++ b/crates/openhuman-core/src/web_chat/ops/start_chat.rs
@@ -292,6 +292,8 @@ pub async fn start_chat(
thread_id: thread_id.clone(),
mode: parsed_mode.to_string(),
queue_depth: status.total,
+ item_id: None,
+ text_preview: None,
});
return Ok(json!({
"queued": true,