Skip to content

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

test(events): add missing fields to domain event test variants

Steven Enamakel2b9a8609ecaf
diff --git a/crates/openhuman-core/src/core/events_tests.rs b/crates/openhuman-core/src/core/events_tests.rs
index 059e6fc6fe..0b178adf88 100644
--- a/crates/openhuman-core/src/core/events_tests.rs
+++ b/crates/openhuman-core/src/core/events_tests.rs
@@ -71,6 +71,8 @@ fn all_variants_have_correct_domain() {
thread_id: "t".into(),
mode: "steer".into(),
queue_depth: 1,
+ item_id: None,
+ text_preview: None,
},
"agent",
),
@@ -78,6 +80,8 @@ fn all_variants_have_correct_domain() {
DomainEvent::RunQueueFollowupDispatched {
thread_id: "t".into(),
followup_count: 1,
+ item_id: None,
+ text_preview: None,
},
"agent",
),
@@ -85,6 +89,8 @@ fn all_variants_have_correct_domain() {
DomainEvent::RunQueueInterrupted {
thread_id: "t".into(),
cancelled_request_id: "req-1".into(),
+ item_id: None,
+ text_preview: None,
},
"agent",
),