mirror of
https://github.com/simstudioai/sim.git
synced 2026-11-02 22:52:17 +08:00
Overflow counts read '+ n', dropping 'more'
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user