Skip to content

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

feat(channels): add bus turn processor for channel dispatch

Steven Enamakel0aa3111f6cb4
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/processor/bus_turn.rs b/crates/openhuman-core/src/channels/runtime/dispatch/processor/bus_turn.rs
index 267de561b9..79e4bfa101 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/processor/bus_turn.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/processor/bus_turn.rs
@@ -30,9 +30,8 @@ pub(super) async fn dispatch_bus_turn(
// the channel layer free of direct harness imports and makes the
// agent side mockable in unit tests via a handler override.
//
- // The agent handler owns the history vector — we `mem::take` the
- // local one to avoid an unnecessary clone; `history` is not read
- // again below.
+ // The agent handler owns the history vector, taken here by value.
+ //
// Pick the active agent for this turn (always orchestrator) and
// synthesise its delegation tool surface. Fresh disk read of
// `Config::onboarding_completed` happens inside `resolve_target_agent`.