Skip to content

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

fix(tests): correct memory tree summarizer test to verify summary content

Steven Enamakel36a6ebeb3bda
diff --git a/tests/memory_tree_summarizer_e2e.rs b/tests/memory_tree_summarizer_e2e.rs
index 313c7b1743..5d85eaaa79 100644
--- a/tests/memory_tree_summarizer_e2e.rs
+++ b/tests/memory_tree_summarizer_e2e.rs
@@ -233,10 +233,10 @@ async fn builds_hour_day_month_year_chain() {
// The hour summaries are short enough that day/month/year/root fit within
// token budget and do NOT trigger additional LLM calls (propagate_node
// short-circuits when combined children text fits the level budget).
- let provider = ScriptedProvider::new(vec![
+ let provider = LegacyChatModelBridge::new(Arc::new(ScriptedProvider::new(vec![
Ok("User discussed deployment timeline".to_string()),
Ok("Reviewed infrastructure PR".to_string()),
- ]);
+ ])));
log::debug!("[memory_tree_summarizer_e2e] running summarization");
let result = engine::run_summarization(&config, &provider, NS, Utc::now()).await;