Skip to content

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

refactor(session_host): widen harness_instruction_needles visibility

Steven Enamakelc4101ddf6b5e
diff --git a/crates/openhuman-core/src/agent/session_host/turn_checkpoint.rs b/crates/openhuman-core/src/agent/session_host/turn_checkpoint.rs
index db2b6feda2..acfa78c5de 100644
--- a/crates/openhuman-core/src/agent/session_host/turn_checkpoint.rs
+++ b/crates/openhuman-core/src/agent/session_host/turn_checkpoint.rs
@@ -341,7 +341,7 @@ const MIN_QUOTED_WORDS: usize = 10;
/// the closed set of strings it injects, and neither is correct output on any
/// path, so there is nothing to gain from narrowing the set to the path that
/// ran.
-fn harness_instruction_needles(stop_reason: Option<&str>) -> Vec<String> {
+pub(crate) fn harness_instruction_needles(stop_reason: Option<&str>) -> Vec<String> {
let mut sources = vec![
FINAL_ANSWER_INSTRUCTION,
TRUNCATED_ANSWER_INSTRUCTION,