Skip to content

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

fix(transcript): handle missing session transcript gracefully

Steven Enamakel4ca0e9db03af
diff --git a/crates/openhuman-core/src/agent/harness/session/transcript.rs b/crates/openhuman-core/src/agent/harness/session/transcript.rs
index c083579295..38391b87d8 100644
--- a/crates/openhuman-core/src/agent/harness/session/transcript.rs
+++ b/crates/openhuman-core/src/agent/harness/session/transcript.rs
@@ -137,8 +137,6 @@ pub use writer::{append_interrupted_partial, append_transcript_turn, write_trans
#[cfg(test)]
use jsonl::build_message_line;
#[cfg(test)]
-use metadata::attach_turn_usage_metadata;
-#[cfg(test)]
use paths::{
find_latest_transcript, latest_in_dir, md_companion_path, next_index, raw_session_dir,
resolve_new_transcript_path, sanitize_agent_name,