Skip to content

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

chore(agent): tidy re-export attributes and task id ordering

Steven Enamakele12007be9188
diff --git a/crates/openhuman-core/src/agent/session_host/turn_checkpoint.rs b/crates/openhuman-core/src/agent/session_host/turn_checkpoint.rs
index 9183279ab0..02096f8cd4 100644
--- a/crates/openhuman-core/src/agent/session_host/turn_checkpoint.rs
+++ b/crates/openhuman-core/src/agent/session_host/turn_checkpoint.rs
@@ -529,7 +529,6 @@ pub(crate) fn close_verification_prompt(user_request: &str, records: &str, reply
}
/// The check call's verdict on a closing message.
-#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub(crate) use tinyagents_harness::close::{CloseVerdict, parse_close_verdict};
/// Build a deterministic final answer from this turn's tool results.
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs
index f17dda865d..ba49cd4c1e 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs
@@ -143,14 +143,14 @@ pub(crate) async fn run_subagent_direct(
}
}
}
- let task_id = options
- .task_id
- .clone()
- .unwrap_or_else(|| format!("sub-{}", uuid::Uuid::new_v4()));
let mut usage_finalizer = UsageFinalizer {
context: options.run_context.clone(),
complete: false,
};
+ let task_id = options
+ .task_id
+ .clone()
+ .unwrap_or_else(|| format!("sub-{}", uuid::Uuid::new_v4()));
// Turn-scoped dispatch gate (#5804) — deliberately the FIRST gate, for
// the same reason the depth gate is synchronous and pre-dispatch: a