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 Enamakel86711b6162e0
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 c60c3bee12..aee332bd66 100644
--- a/crates/openhuman-core/src/web_chat/ops/start_chat.rs
+++ b/crates/openhuman-core/src/web_chat/ops/start_chat.rs
@@ -715,3 +715,7 @@ fn dispatch_followups(followups: Vec<crate::agent::queued_turn::QueuedTurn>) {
));
}
}
+
+#[cfg(test)]
+#[path = "start_chat_tests.rs"]
+mod tests;