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): use shared blank transcript meta fixture
Steven Enamakel29a2038049b8
diff --git a/crates/openhuman-core/src/agent/session_host/transcript_resume_stable_tests.rs b/crates/openhuman-core/src/agent/session_host/transcript_resume_stable_tests.rsindex c9b81d7fe6..32bc0bb36b 100644--- a/crates/openhuman-core/src/agent/session_host/transcript_resume_stable_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/transcript_resume_stable_tests.rs@@ -61,7 +61,7 @@ fn a_legacy_workspace_is_adopted_once_and_the_next_process_resumes_in_place() {.iter().map(|stem| {let history = locator- .open_stem(stem, Default::default())+ .open_stem(stem, crate::agent::session_store::splice_fixture::blank_meta()).expect("bind a legacy stem");serde_json::to_value(history.messages().expect("read a legacy root")).expect("rows")diff --git a/crates/openhuman-core/src/agent/session_host/typed_transcript_compat_tests.rs b/crates/openhuman-core/src/agent/session_host/typed_transcript_compat_tests.rsindex 7c87d615db..b00abb17e9 100644--- a/crates/openhuman-core/src/agent/session_host/typed_transcript_compat_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/typed_transcript_compat_tests.rs@@ -18,7 +18,7 @@use serde_json::{json, Value};use crate::agent::session_store::splice_fixture::head_of;-use tinyagents_session::transcript::{TranscriptLocator, TranscriptMeta};+use tinyagents_session::transcript::{TranscriptLocator as _, TranscriptMeta};use tinyinference_llm::message::ContentBlock;use tinyinference_llm::model::ModelResponse;diff --git a/crates/openhuman-core/src/agent/session_store/splice_fixture.rs b/crates/openhuman-core/src/agent/session_store/splice_fixture.rsindex 5dd9bc88a6..51f56c2eb0 100644--- a/crates/openhuman-core/src/agent/session_store/splice_fixture.rs+++ b/crates/openhuman-core/src/agent/session_store/splice_fixture.rs@@ -65,3 +65,28 @@ pub(crate) fn replace_head(.replace(messages).expect("replace the head transcript");}++/// A transcript header with nothing set, for binding a stem that already+/// exists (the store keeps the header it has).+pub(crate) fn blank_meta() -> TranscriptMeta {+ TranscriptMeta {+ agent_name: "fixture".into(),+ agent_id: None,+ agent_type: None,+ dispatcher: "native".into(),+ provider: None,+ model: None,+ created: "2026-01-01T00:00:00Z".into(),+ updated: "2026-01-01T00:00:00Z".into(),+ turn_count: 0,+ prefix_message_count: None,+ input_tokens: 0,+ output_tokens: 0,+ cached_input_tokens: 0,+ charged_amount_usd: 0.0,+ thread_id: None,+ task_id: None,+ session_id: None,+ parent_session_id: None,+ }+}