The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(session_host): rename imported history regression helper and drop redundant seed test
Steven Enamakelc830965e7b0f
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.rsindex 0d4126d0c7..17d10c1dec 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@@ -1,7 +1,7 @@use super::*;use std::sync::Arc;-use tinyagents_session::transcript::{TranscriptLocator, TranscriptMessage};+use tinyagents_session::transcript::TranscriptMessage;use tinyinference_llm::message::Message;use tinyinference_llm::model::ChatModel;@@ -14,14 +14,14 @@ fn imported_history_gets_the_real_prefix_and_freezes_it_after_first_turn() {.enable_all().build().expect("test runtime")- .block_on(imported_history_gets_the_real_prefix_and_freezes_it_after_first_turn());+ .block_on(run_imported_history_prefix_regression());}).expect("test thread").join().expect("test thread panicked");}-async fn imported_history_gets_the_real_prefix_and_freezes_it_after_first_turn() {+async fn run_imported_history_prefix_regression() {let root = tempfile::tempdir().expect("workspace");let locator = crate::agent::session_store::splice_fixture::memory_locator();let tool = || {diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/mod_tests.rs b/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/mod_tests.rsindex 4faefd9bc0..a3b835d8ee 100644--- a/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/mod_tests.rs+++ b/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/mod_tests.rs@@ -35,23 +35,3 @@ fn the_binding_is_read_from_toml() {Some("teeny-chat"));}--#[test]-fn seed_rows_keep_only_the_prior_turns() {- use tinyagents_session::transcript::TranscriptMessage;- let history = vec![- TranscriptMessage::system("CHANNEL_PROMPT"),- TranscriptMessage::user("earlier"),- TranscriptMessage::assistant("reply"),- TranscriptMessage::user("now"),- ];- assert_eq!(- seed_rows(&history),- vec![- ("user".to_string(), "earlier".to_string()),- ("assistant".to_string(), "reply".to_string()),- ]- );- assert!(seed_rows(&history[..2]).is_empty());- assert!(seed_rows(&[]).is_empty());-}