Skip to content

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

test: initialize cache breakpoints in transcript fixtures

Steven Enamakel9435801792ba
diff --git a/src/openhuman/agent/harness/session/transcript_history_tests.rs b/src/openhuman/agent/harness/session/transcript_history_tests.rs
index 6592c2392d..cb8da4f00b 100644
--- a/src/openhuman/agent/harness/session/transcript_history_tests.rs
+++ b/src/openhuman/agent/harness/session/transcript_history_tests.rs
@@ -223,6 +223,7 @@ fn chat(role: &str, content: &str) -> ChatMessage {
role: role.into(),
content: content.into(),
extra_metadata: None,
+ cache_breakpoints: Vec::new(),
}
}
diff --git a/src/openhuman/agent/harness/session/turn_tests.rs b/src/openhuman/agent/harness/session/turn_tests.rs
index d0a18efd3f..f3a183f4e6 100644
--- a/src/openhuman/agent/harness/session/turn_tests.rs
+++ b/src/openhuman/agent/harness/session/turn_tests.rs
@@ -86,6 +86,7 @@ impl ChatModel<()> for SequenceProvider {
_ => message.text(),
},
extra_metadata: None,
+ cache_breakpoints: Vec::new(),
})
.collect(),
);
diff --git a/src/openhuman/threads/transcript_view/tests.rs b/src/openhuman/threads/transcript_view/tests.rs
index bdbb8cb950..8bb2e10ef4 100644
--- a/src/openhuman/threads/transcript_view/tests.rs
+++ b/src/openhuman/threads/transcript_view/tests.rs
@@ -356,6 +356,7 @@ fn tool_failure_metadata_round_trips_write_to_display_line() {
role: "tool".into(),
content: r#"{"tool_call_id":"call-1","content":"boom"}"#.into(),
extra_metadata: None,
+ cache_breakpoints: Vec::new(),
};
transcript::attach_tool_failure_metadata(&mut tool_msg, Some("boom: exit 1"));
@@ -365,6 +366,7 @@ fn tool_failure_metadata_round_trips_write_to_display_line() {
role: "user".into(),
content: "do it".into(),
extra_metadata: None,
+ cache_breakpoints: Vec::new(),
},
tool_msg,
];
@@ -468,6 +470,7 @@ fn append_transcript_turn_projects_full_display_shape() {
role: role.into(),
content: content.into(),
extra_metadata: None,
+ cache_breakpoints: Vec::new(),
};
let first = vec![