Skip to content

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

refactor(channels): move message param to dispatch_test_turn

Steven Enamakela934724680f8
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 1c841b181b..67770808b1 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
@@ -18,7 +18,6 @@ pub(super) async fn dispatch_bus_turn(
ctx: &ChannelRuntimeContext,
msg: &traits::ChannelMessage,
route: &ChannelRouteSelection,
- message: &str,
history: Vec<TranscriptMessage>,
active_turn_model_source: Option<crate::agent::tinyagents::TurnModelSource>,
progress_tx: Option<tokio::sync::mpsc::Sender<AgentProgress>>,
@@ -133,6 +132,7 @@ pub(super) async fn dispatch_test_turn(
ctx: &ChannelRuntimeContext,
msg: &traits::ChannelMessage,
route: &ChannelRouteSelection,
+ message: &str,
active_turn_model_source: Option<crate::agent::tinyagents::TurnModelSource>,
progress_tx: Option<tokio::sync::mpsc::Sender<AgentProgress>>,
turn_origin: AgentTurnOrigin,