diff --git a/apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/agent-group.tsx b/apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/agent-group.tsx index b0aa7beeaa..00b3a81fe3 100644 --- a/apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/agent-group.tsx +++ b/apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/agent-group.tsx @@ -135,7 +135,7 @@ export function AgentGroup({ runningCount += 1 } } - if (running) return runningCount > 1 ? `${running} + ${runningCount - 1} more` : running + if (running) return runningCount > 1 ? `${running} + ${runningCount - 1}` : running return lastAny })() const headerText = status ? `${agentLabel} — ${status}` : agentLabel diff --git a/apps/sim/lib/copilot/tools/tool-display.ts b/apps/sim/lib/copilot/tools/tool-display.ts index 6c4230559e..71f4cddcdc 100644 --- a/apps/sim/lib/copilot/tools/tool-display.ts +++ b/apps/sim/lib/copilot/tools/tool-display.ts @@ -659,7 +659,7 @@ function waitAgentsTitle(args: ToolArgs): string { const anyMode = stringArg(args, 'mode') === 'any' if (names.length === 1) return `Waiting for ${names[0]}` if (names.length > 1) { - const listed = `${names[0]} + ${names.length - 1} more` + const listed = `${names[0]} + ${names.length - 1}` return anyMode ? `Waiting for the first of ${listed}` : `Waiting for ${listed}` } return 'Waiting for agents'