Skip to content

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

refactor(subagent_host): narrow worker thread re-exports

Steven Enamakelfe7a49c39a10
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/mod.rs b/crates/openhuman-core/src/agent/subagent_host/ops/mod.rs
index ea2a8789c3..a98a041dbd 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/mod.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/mod.rs
@@ -32,9 +32,7 @@ mod worker_mirror;
mod worker_thread;
pub(crate) use worker_mirror::{mirror_worker_thread, mirror_worker_thread_from_history};
-pub(crate) use worker_thread::{
- append_reuse_follow_up, append_worker_user_message, create_worker_thread,
-};
+pub(crate) use worker_thread::{append_reuse_follow_up, create_worker_thread};
#[cfg(test)]
#[path = "worker_thread_tests.rs"]
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/worker_thread_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops/worker_thread_tests.rs
index 7c5c0e7fe6..ffa574835a 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/worker_thread_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/worker_thread_tests.rs
@@ -1,3 +1,4 @@
+use super::worker_thread::append_worker_user_message;
use super::*;
use crate::threads::store as conversations;