Skip to content

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

chore(subagent_sessions): derive PartialEq and Eq for DriverTaskCancellation

Steven Enamakele18d9c90e086
diff --git a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/ops.rs b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/ops.rs
index f5a8180ccf..e6a658acf7 100644
--- a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/ops.rs
+++ b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/ops.rs
@@ -172,7 +172,7 @@ pub fn cancel_driver_job_for_observed_session(
/// The selector is scoped to the caller's durable session store and refuses
/// ambiguous task IDs. The actual cancellation remains keyed by the full
/// authenticated TinyAgents lifecycle key.
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, PartialEq, Eq)]
pub struct DriverTaskCancellation {
pub task_id: String,
pub agent_id: String,