Skip to content

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

fix(gate): correct plan review gate logic to properly handle edge cases

Steven Enamakeledbb9df793cc
diff --git a/crates/openhuman-core/src/agent/plan_review/gate.rs b/crates/openhuman-core/src/agent/plan_review/gate.rs
index 20532a4af2..1e40e1f12b 100644
--- a/crates/openhuman-core/src/agent/plan_review/gate.rs
+++ b/crates/openhuman-core/src/agent/plan_review/gate.rs
@@ -119,6 +119,9 @@ impl PlanReviewGate {
BUS.publish(DomainEvent::PlanReviewDecided {
request_id: request_id.clone(),
decision: resolution.as_str().to_string(),
+ thread_id: None,
+ client_id: None,
+ tool_call_id: None,
});
tracing::info!(
request_id = %request_id,