Skip to content

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

test(session_host): remove unused imports from imported history test

Steven Enamakel6a17fa49d73a
diff --git a/crates/openhuman-core/src/agent/session_host/imported_history_tests.rs b/crates/openhuman-core/src/agent/session_host/imported_history_tests.rs
index 80029b098b..ce9c900bb6 100644
--- a/crates/openhuman-core/src/agent/session_host/imported_history_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/imported_history_tests.rs
@@ -188,7 +188,7 @@ async fn run_imported_history_prefix_regression() {
#[tokio::test]
async fn legacy_history_is_loaded_only_for_an_unwritten_bound_session() {
- use tinyagents_session::transcript::{SessionRef, TranscriptMeta, TranscriptMessage};
+ use tinyagents_session::transcript::{TranscriptMeta, TranscriptMessage};
let root = tempfile::tempdir().expect("workspace");
let locator = crate::agent::session_store::splice_fixture::memory_locator();
@@ -284,6 +284,4 @@ async fn legacy_history_is_loaded_only_for_an_unwritten_bound_session() {
})
.await
.unwrap());
-
- let _ = SessionRef::root("unused");
}