Skip to content

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

fix(threads): handle empty thread list in ops

Steven Enamakelfc6a5133e51c
diff --git a/crates/openhuman-core/src/threads/ops.rs b/crates/openhuman-core/src/threads/ops.rs
index 48e983d8f6..96ddeb0d47 100644
--- a/crates/openhuman-core/src/threads/ops.rs
+++ b/crates/openhuman-core/src/threads/ops.rs
@@ -5,6 +5,7 @@
mod tests;
mod crud;
+mod live_state;
mod purge;
mod support;
mod title_generation;
@@ -16,6 +17,9 @@ pub use crud::{
message_append, message_update, messages_list, thread_create_new, thread_delete,
thread_update_labels, thread_update_title, thread_upsert, threads_list, transcript_search,
};
+pub use live_state::{
+ goal_get, todos_get, ThreadGoalGetResponse, ThreadLiveStateRequest, ThreadTodosGetResponse,
+};
pub use purge::threads_purge;
pub use title_generation::thread_generate_title;
pub use transcript::{transcript_get, TranscriptGetRequest};