Converted all external tool calling to async
This commit is contained in:
@@ -90,7 +90,7 @@ pub(crate) fn build_status_from_items(
|
||||
items: &[PipelineItem],
|
||||
) -> String {
|
||||
// Build a map from story_id → active AgentInfo for quick lookup.
|
||||
let active_agents = agents.list_agents().unwrap_or_default();
|
||||
let active_agents = agents.list_agents_nonblocking();
|
||||
let active_map: HashMap<String, &crate::agents::AgentInfo> = active_agents
|
||||
.iter()
|
||||
.filter(|a| matches!(a.status, AgentStatus::Running | AgentStatus::Pending))
|
||||
|
||||
Reference in New Issue
Block a user