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(threads): update transcript fixtures for decorated user messages
Steven Enamakelf8332f652d52
diff --git a/crates/openhuman-core/src/threads/ops/transcript_tests.rs b/crates/openhuman-core/src/threads/ops/transcript_tests.rsindex 3d7bd99c41..c56c135bca 100644--- a/crates/openhuman-core/src/threads/ops/transcript_tests.rs+++ b/crates/openhuman-core/src/threads/ops/transcript_tests.rs@@ -84,7 +84,7 @@ async fn write_thread(ctx: &DispatchCtx) {.locator();let root_meta = meta("orchestrator", "root");let turn = vec![- TranscriptMessage::user("hello"),+ TranscriptMessage::user("Current Date & Time: today\n\nhello"),TranscriptMessage::assistant("hi there"),];locator@@ -193,12 +193,13 @@ async fn transcript_projection_includes_voice_metadata_from_persisted_thread_row.unwrap().locator();let root_meta = meta("orchestrator", "root");+ let decorated_user = "Current Date & Time: today\n\nhello";let prior = vec![- TranscriptMessage::user("hello"),+ TranscriptMessage::user(decorated_user),TranscriptMessage::assistant("hi there"),];let complete = vec![- TranscriptMessage::user("hello"),+ TranscriptMessage::user(decorated_user),TranscriptMessage::assistant("hi there"),TranscriptMessage::user("hello"),TranscriptMessage::assistant("hi again"),@@ -238,7 +239,7 @@ async fn transcript_projection_includes_voice_metadata_from_persisted_thread_rowrequest_id,extra_metadata,..- } if content == "hello" && request_id.as_deref() == Some("req-1") => {+ } if content == decorated_user && request_id.as_deref() == Some("req-1") => {extra_metadata.as_ref()}_ => None,