Skip to content

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

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

Steven Enamakel5c0e8fef8594
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rs
index 5b5a3b7c01..44c7958746 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -4244,7 +4244,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")