Skip to content

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

chore: files changed src/openhuman/agent/orchestration/agent_teams/ops.rs

Steven Enamakel4543c9294e15
diff --git a/src/openhuman/agent/orchestration/agent_teams/ops.rs b/src/openhuman/agent/orchestration/agent_teams/ops.rs
index 9f30776a73..381e5e5d63 100644
--- a/src/openhuman/agent/orchestration/agent_teams/ops.rs
+++ b/src/openhuman/agent/orchestration/agent_teams/ops.rs
@@ -6,7 +6,7 @@
//! and exchange teammate messages. Messaging rides the run-ledger event stream
//! (`run_id = team_id`, `event_type = "team_message"`) — no new message table.
-use std::collections::{HashMap, HashSet, VecDeque};
+use std::collections::HashSet;
use anyhow::{anyhow, Result};
use chrono::Utc;
@@ -14,6 +14,7 @@ use serde_json::json;
use uuid::Uuid;
use crate::openhuman::config::Config;
+use tinyagents::graph::dag::{has_cycle, DagNode};
use tinyagents::session::run_ledger::{
self, AgentTeam, AgentTeamListRequest, AgentTeamListResponse, AgentTeamMemberStatus,
AgentTeamMemberUpsert, AgentTeamStatus, AgentTeamTask, AgentTeamTaskStatus,