Skip to content

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

fix(steering_forwarder): add missing fields to domain events

Steven Enamakelad2519693ee2
diff --git a/crates/openhuman-core/src/agent/tinyagents/steering_forwarder.rs b/crates/openhuman-core/src/agent/tinyagents/steering_forwarder.rs
index ee790cc721..cf07f19276 100644
--- a/crates/openhuman-core/src/agent/tinyagents/steering_forwarder.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/steering_forwarder.rs
@@ -98,6 +98,8 @@ pub(super) async fn forward_steers(
thread_id: thread_label.to_string(),
mode: "steer".to_string(),
delivered,
+ item_id: None,
+ text_preview: None,
});
}
@@ -131,6 +133,8 @@ pub(super) async fn forward_collects(
thread_id: thread_label.to_string(),
mode: "collect".to_string(),
delivered,
+ item_id: None,
+ text_preview: None,
});
}
@@ -308,6 +312,8 @@ impl Drop for SteeringForwarderGuard {
BUS.publish(DomainEvent::RunQueueSteerRequeued {
thread_id: thread_label,
requeued,
+ item_id: None,
+ text_preview: None,
});
}
}