Skip to content

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

test(agent): follow todo snapshot thread scope

Steven Enamakele73f880afcd0
diff --git a/crates/openhuman-core/src/agent/tools/todo_tests.rs b/crates/openhuman-core/src/agent/tools/todo_tests.rs
index 651991861e..3882df2ca9 100644
--- a/crates/openhuman-core/src/agent/tools/todo_tests.rs
+++ b/crates/openhuman-core/src/agent/tools/todo_tests.rs
@@ -235,7 +235,7 @@ async fn sessions_do_not_see_each_other_and_a_list_survives_across_turns() {
1,
"a later turn of the same session reads it back"
);
- assert_eq!(a_again.session_id.as_deref(), Some("sess-a"));
+ assert_eq!(a_again.thread_id, "sess-a");
assert!(crate::agent::todos::ops::list(&b)
.await
.unwrap()