fmt(js): npm run fix on merge (#101102)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
aa80626764
commit
6840bb02e8
@@ -334,12 +334,14 @@ function SubagentAccordion({
|
||||
|
||||
// `[6a66 3/9]` when the gateway tags the batch; `[3/9]` on older gateways.
|
||||
const batchTag = item.delegationId?.split('_').at(-1)?.slice(0, 4)
|
||||
|
||||
const prefix =
|
||||
item.taskCount > 1
|
||||
? `[${batchTag ? `${batchTag} ` : ''}${item.index + 1}/${item.taskCount}] `
|
||||
: batchTag
|
||||
? `[${batchTag}] `
|
||||
: ''
|
||||
|
||||
const goalLabel = item.goal || `Subagent ${item.index + 1}`
|
||||
const title = `${prefix}${open ? goalLabel : compactPreview(goalLabel, 60)}`
|
||||
const summary = compactPreview((item.summary || '').replace(/\s+/g, ' ').trim(), 72)
|
||||
|
||||
Reference in New Issue
Block a user