Skip to content

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

test(json_rpc_e2e): simplify task id conversion in team coordination test

Steven Enamakel8f8985939df0
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rs
index fb069788e2..96c3fbe5a7 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -4240,7 +4240,7 @@ async fn json_rpc_agent_team_coordination_roundtrip() {
// Mark A done directly via the run ledger, then B claims fine.
let task_a = openhuman_core::storage::sessions::with_ledger(&config.workspace_dir, |ledger| {
- let ledger_arg_0 = (&task_a_id).to_string();
+ let ledger_arg_0 = task_a_id.to_string();
async move { ledger.get_agent_team_task(&ledger_arg_0).await }
})
.expect("get task A")