Skip to content

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

fix(transcript_compat_tests): update test expectations for tinyagents vendor bump

Steven Enamakel338f86c2ea81
diff --git a/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs b/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs
index a2c1911370..d98c51c6c0 100644
--- a/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs
@@ -360,6 +360,9 @@ fn every_committed_transcript_resumes_to_the_recorded_model_view() {
run_async(async move {
let got = snapshot(scenario).await;
let want = golden(scenario.name);
+ if let Ok(dir) = std::env::var("OH_DUMP") {
+ std::fs::write(format!("{dir}/{}.got.json", scenario.name), serde_json::to_string_pretty(&got).unwrap()).unwrap();
+ }
assert_eq!(
got, want,
"{}: resumed model view drifted from the committed golden",
diff --git a/vendor/tinyagents b/vendor/tinyagents
index ad88140a79..0d2cffa99c 160000
--- a/vendor/tinyagents
+++ b/vendor/tinyagents
@@ -1 +1 @@
-Subproject commit ad88140a793e0af7f6d247a37342c0c016638929
+Subproject commit 0d2cffa99ca585048dee1d35b1b4aa555c48f86c