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 Enamakele203716d4eda
diff --git a/crates/openhuman-core/src/threads/ops.rs b/crates/openhuman-core/src/threads/ops.rs
index aaab5901f8..59f24df3de 100644
--- a/crates/openhuman-core/src/threads/ops.rs
+++ b/crates/openhuman-core/src/threads/ops.rs
@@ -50,4 +50,5 @@ use support::{
counts, envelope, message_to_record, record_to_message, request_id, run_to_completion,
thread_to_summary,
};
+#[cfg(test)]
use tinyagents_harness::title::{is_auto_generated_thread_title, title_from_user_message};